syncthing/etc/linux-runit
Colin Kennedy 338394f8c3 Use chpst instead of djb name setuidgid
Some distros (Ubuntu, Debian?) don't link `chpst` to `setuidgid`, as it
could conflict with djb daemontools installation.  If daemontools isn't
going to be referenced in the README, then the example runit config
should reference the runit packaged utility.
2015-03-08 18:50:54 -05:00
..
README.md Add example for runit service 2014-11-24 13:48:42 +01:00
run Use chpst instead of djb name setuidgid 2015-03-08 18:50:54 -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.

  1. Install runit.

  2. Edit the run file 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.

  3. Copy the edited run file to /etc/service/syncthing/run.

Log output is sent to syslogd.