This website requires JavaScript.
Explore
Help
Sign In
docker
/
docker-pi-hole
mirror of
https://github.com/pi-hole/docker-pi-hole.git
Watch
1
Star
0
Fork
You've already forked docker-pi-hole
0
Code
Issues
Releases
Wiki
Activity
1d59f257ff
docker-pi-hole
/
src
/
s6
/
debian-root
/
etc
/
s6-overlay
/
s6-rc.d
/
pihole-FTL
/
finish
5 lines
83 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Bump to S6 overlay v3 - and the changes that go with that... Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-07-12 16:18:33 +02:00
#!/command/with-contenv bash
add finish scripts to restart cleanly Signed-off-by: Adam Hill <adam@diginc.us>
2018-07-20 05:56:59 +02:00
s6-echo "Stopping pihole-FTL"
Use consistent method to kill process in s6 finish script If the process does not exist, the error message of `kill` command is a little bit confusing: `kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]` Using `killall` in `/s6/debian-root/etc/services.d/pihole-FTL/finish` to kill the process, like what we do in `cron/finish` & `lighttpd/finish`, will make the usage in this project more consistent, and also, the command `killall` will provide better & friendly output, like: `pihole-FTL: no process found` Close #986, cc #973 Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
2022-01-17 12:42:18 +01:00
killall -15 pihole-FTL