add finish scripts to restart cleanly
Signed-off-by: Adam Hill <adam@diginc.us>
This commit is contained in:
parent
520669a6b9
commit
0e7ab463fa
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
|
||||
s6-echo "Stopping cron"
|
||||
killall -9 cron
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
|
||||
s6-echo "Stopping lighttpd"
|
||||
killall -9 lighttpd
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
|
||||
s6-echo "Starting lighttpd"
|
||||
|
||||
lighttpd -D -f /etc/lighttpd/lighttpd.conf
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
|
||||
s6-echo "Stopping pihole-FTL"
|
||||
/etc/init.d/pihole-FTL stop
|
Loading…
Reference in New Issue