]> git.netwichtig.de Git - user/henk/code/puppet/modules/s6.git/blobdiff - files/etc/init.d/s6
fix: this is all unnecessary
[user/henk/code/puppet/modules/s6.git] / files / etc / init.d / s6
index 0694a4ce957daf9e4a049abb9811991c4b51fc49..238b0b6c642cbfa4a84a0f326aeea058a7933a6e 100644 (file)
@@ -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