From Gentoo Wiki
Jump to: navigation, search
This article is a stub. You can help by expanding it.

Syncthing an open-source syncing tool.


USE flags

USE flags for net-p2p/syncthing Open Source Continuous File Synchronization

selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
tools Install stdiscosrv, strelaysrv and other tools to /usr/libexec/syncthing/.


root #emerge --ask net-p2p/syncthing


Adding to startup

OpenRC can start Syncthing at startup:

root #rc-update add syncthing default


If you want to try any path other than /var/lib/syncthing/ which is owned by syncthing user and under syncthing group, you should first change the ownership of the file/folder you've created to syncthing user and group and then add any user you want to have write access to syncthing group. Changes will take place after logging out and in.

root #usermod -a -G syncthing USERNAME
root #chmod g+w CREATED_SYNC_FOLDER
root #chown -R syncthing:syncthing CREATED_SYNC_FOLDER