Use consistent method to kill process in s6 finish script
This commit is contained in:
Adam Warner 2022-01-17 22:03:36 +00:00 committed by GitHub
commit c2870031e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
s6-echo "Stopping pihole-FTL"
kill -15 $(pgrep pihole-FTL)
killall -15 pihole-FTL