summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2023-11-02 21:15:51 +0100
committerHendrik Jäger <gitcommit@henk.geekmail.org>2023-11-02 21:15:51 +0100
commit6c8d7cc73442389d4e9c4ecfa86f3f60361c21e4 (patch)
tree62c1a0b9b41c7451417dadd163c10b934d753792
parentef69b94710679ed781dd860c03b260dc0ddff8ad (diff)
fix: this is all unnecessary
-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