1
0
mirror of https://github.com/octoleo/syncthing.git synced 2025-01-13 19:23:10 +00:00
syncthing/etc/linux-runit/log/run
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

5 lines
37 B
Bash
Executable File

#!/bin/sh
exec logger -t syncthing