mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-14 01:04:14 +00:00
eaf71db7c9
When you: `sudo sv down /etc/service/syncthing/` the `TERM` signal isn't propogated or trapped, so syncthing is orphaned and adopted by init (PID 1). - Changed call to `chpst` to `exec` - Moved logging to `log/run` per `runsv` standard
589 B
589 B
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 andlog
folder) to/etc/service/syncthing
.
Log output is sent to syslogd.