summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/etc/init.d/s616
1 files changed, 0 insertions, 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