diff options
Diffstat (limited to 'files/etc/init.d/s6')
-rw-r--r-- | files/etc/init.d/s6 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/files/etc/init.d/s6 b/files/etc/init.d/s6 index 29bf0e2..f99e11d 100644 --- a/files/etc/init.d/s6 +++ b/files/etc/init.d/s6 @@ -35,6 +35,9 @@ case "$1" in /sbin/start-stop-daemon \ --start \ --oknodo \ + --make-pidfile \ + --pidfile /run/s6-svscan.pid \ + --background \ --chdir "${SCANDIR}" \ --exec "${DAEMON}" \ -- "${DAEMON_ARGS}" @@ -48,6 +51,8 @@ case "$1" in /sbin/start-stop-daemon \ --stop \ --oknodo \ + --remove-pidfile \ + --pidfile /run/s6-svscan.pid \ --retry TERM/60/KILL/10 \ --exec /usr/bin/s6-svscan /sbin/start-stop-daemon \ |