mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-19 05:22:58 +03:00
support for centos 7+, fedora
This commit is contained in:
parent
14d1bc91e4
commit
dc93c8558f
@ -177,6 +177,7 @@ stop_daemon()
|
||||
if [ -f "$PIDFILE" ]; then
|
||||
read PID <"$PIDFILE"
|
||||
kill $PID
|
||||
rm -f "$PIDFILE"
|
||||
else
|
||||
echo no pidfile : $PIDFILE
|
||||
false
|
||||
|
Loading…
x
Reference in New Issue
Block a user