mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-10 20:40:48 +05:00
install_easy: daemon-reload before enable
This commit is contained in:
parent
75cb65306d
commit
47cbfdbb19
@ -155,6 +155,7 @@ fi
|
|||||||
|
|
||||||
echo \* registering init script ...
|
echo \* registering init script ...
|
||||||
|
|
||||||
|
"$SYSTEMCTL" daemon-reload
|
||||||
"$SYSTEMCTL" enable zapret || {
|
"$SYSTEMCTL" enable zapret || {
|
||||||
echo could not register $INIT_SCRIPT with systemd
|
echo could not register $INIT_SCRIPT with systemd
|
||||||
exitp 20
|
exitp 20
|
||||||
|
Loading…
x
Reference in New Issue
Block a user