mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-06-25 08:47:48 +02:00
b29ac1ec18
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> |
||
---|---|---|
.. | ||
debian-root | ||
service | ||
timeout |