mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-19 13:32:58 +03:00
uninstall_debian_easy : more systemd cleanup
This commit is contained in:
parent
10270b9e96
commit
f7e59d9eab
@ -28,6 +28,7 @@ SYSTEMCTL=$(which systemctl)
|
|||||||
|
|
||||||
echo \* stopping service and unregistering init script with LSB ...
|
echo \* stopping service and unregistering init script with LSB ...
|
||||||
|
|
||||||
|
"$SYSTEMCTL" disable zapret
|
||||||
"$SYSTEMCTL" stop zapret
|
"$SYSTEMCTL" stop zapret
|
||||||
[ -f "$INIT_SCRIPT" ] && "$LSB_REMOVE" $INIT_SCRIPT
|
[ -f "$INIT_SCRIPT" ] && "$LSB_REMOVE" $INIT_SCRIPT
|
||||||
|
|
||||||
@ -62,5 +63,8 @@ if grep -q "$GET_IPLIST_PREFIX" $CRONTMP; then
|
|||||||
fi
|
fi
|
||||||
rm -f $CRONTMP
|
rm -f $CRONTMP
|
||||||
|
|
||||||
exit 0
|
echo \* systemd cleanup ...
|
||||||
|
|
||||||
|
"$SYSTEMCTL" daemon-reload
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user