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