Browse Source

uninstall_debian_easy : more systemd cleanup

pull/31/head
bolvan 6 years ago
parent
commit
f7e59d9eab
  1. 6
      uninstall_debian_easy.sh

6
uninstall_debian_easy.sh

@ -28,6 +28,7 @@ SYSTEMCTL=$(which systemctl)
echo \* stopping service and unregistering init script with LSB ...
"$SYSTEMCTL" disable zapret
"$SYSTEMCTL" stop zapret
[ -f "$INIT_SCRIPT" ] && "$LSB_REMOVE" $INIT_SCRIPT
@ -62,5 +63,8 @@ if grep -q "$GET_IPLIST_PREFIX" $CRONTMP; then
fi
rm -f $CRONTMP
exit 0
echo \* systemd cleanup ...
"$SYSTEMCTL" daemon-reload
exit 0

Loading…
Cancel
Save