mirror of
https://github.com/syncthing/syncthing.git
synced 2026-01-16 17:58: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 the edited
runfile to/etc/service/syncthing/run.
Log output is sent to syslogd.