Simon Frei f2e9b40ad1 etc: Adjust all the startup scripts to new cmd (ref #7330) (#7353) | 3 år sedan | |
---|---|---|
.. | ||
log | eaf71db7c9 Fix syncthing process reparenting with runit | 9 år sedan |
README.md | eaf71db7c9 Fix syncthing process reparenting with runit | 9 år sedan |
run | f2e9b40ad1 etc: Adjust all the startup scripts to new cmd (ref #7330) (#7353) | 3 år sedan |
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 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.
Copy this directory (containing the edited run
file and log
folder) to
/etc/service/syncthing
.
Log output is sent to syslogd.