Commit Graph

5 Commits

Author SHA1 Message Date
Simon Frei f2e9b40ad1
etc: Adjust all the startup scripts to new cmd (ref #7330) (#7353) 2021-02-11 12:18:47 +01:00
Anjan Momi 3304e0f832
etc/linux-runit: Add excecute permission (#6306) 2020-02-03 11:50:44 +01:00
Colin Kennedy eaf71db7c9 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
2015-03-10 01:01:52 -05:00
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
Jakob Borg a9544ca890 Add example for runit service 2014-11-24 13:48:42 +01:00