This is an old revision of the document!
SyncThing
SyncThing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it’s transmitted over the internet.
It basically keep folders in synchronization between hosts. hosts can be computers and also mobile devices.
Installation
Gentoo has an ebuild for SyncThing, so just emerge it:
emerge syncthing
For SyncThing to be useful you need to run it as the users group, and you should also ensure SyncThing data and logs are stored on your raid arrays. Edit the /etc/conf.d/syncthing configuration file:
- synchting
SYNCTHING_USER="syncthing" SYNCTHING_GROUP="users" # Configuration directory SYNCTHING_HOMEDIR="/data/syncthing/.config/syncthing" # Log file location SYNCTHING_LOGFILE="/data/syncthing/syncthing.log"
And create the /data/syncthing folder that will contain default shared folders and logs:
mkdir /data/syncthing
Usage
Add it to default runlevel and start it:
rc-update add syncthing default /etc/init.t/syncthing start
Open your browser to http://127.0.0.1/8384