mirror of
https://github.com/syncthing/syncthing.git
synced 2025-12-23 22:18:14 -05:00
This directory contains a configuration for running syncthing under the "runit" service manager on Linux. It probably works perfectly fine on other platforms also using runit.
-
Install runit.
-
Edit the
runfile to set the username to run as, the user's home directory and the place where the syncthing binary lives. It is recommended to place it in a directory writeable by the running user so that automatic upgrades work. -
Copy this directory (containing the edited
runfile andlogfolder) to/etc/service/syncthing.
Log output is sent to syslogd.