From 6c8d7cc73442389d4e9c4ecfa86f3f60361c21e4 Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Thu, 2 Nov 2023 21:15:51 +0100 Subject: fix: this is all unnecessary --- files/etc/init.d/s6 | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/files/etc/init.d/s6 b/files/etc/init.d/s6 index 0694a4c..238b0b6 100644 --- a/files/etc/init.d/s6 +++ b/files/etc/init.d/s6 @@ -35,8 +35,6 @@ case "$1" in /sbin/start-stop-daemon \ --start \ --oknodo \ - --make-pidfile \ - --pidfile /run/s6-svscan.pid \ --background \ --chdir "${SCANDIR}" \ --exec "${DAEMON}" \ @@ -47,20 +45,6 @@ case "$1" in stop) log_daemon_msg "Stopping ${DESC}" "${NAME}" /usr/bin/s6-svscanctl -t "${SCANDIR}" - if test $? = 111; then - /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 \ - --stop \ - --oknodo \ - --retry TERM/60 \ - --exec /usr/bin/s6-supervise - fi while $0 status do sleep 0.1 -- cgit v1.2.3