mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-04-20 16:59:35 +01:00
9 lines
229 B
Plaintext
9 lines
229 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
s6-echo "Stopping lighttpd-error-log"
|
|
pid=$(ps -C cat -o pid=,args= |grep -oP "([0-9]+).+error\.log" |cut -f1 -d" ")
|
|
if [[ -n ${pid} ]]; then
|
|
kill -9 ${pid}
|
|
fi
|
|
s6-echo "Stopped lighttpd-error-log"
|