Fix syncthing process reparenting with runit

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
This commit is contained in:
Colin Kennedy committed 2015-03-10 01:01:52 -05:00
1 parent b322b527b3
commit eaf71db7c9
3 files changed
+8 -2

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
exec logger -t syncthing