Use systemd restart
This commit is contained in:
parent
a9efd5bcb3
commit
740a26edb6
|
@ -155,6 +155,6 @@ else
|
||||||
echo "SIP user $MY_USERNAME added"
|
echo "SIP user $MY_USERNAME added"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
service sipwitch restart
|
systemctl restart sipwitch
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -99,7 +99,7 @@ fi
|
||||||
|
|
||||||
remove_sip_user
|
remove_sip_user
|
||||||
|
|
||||||
service sipwitch restart
|
systemctl restart sipwitch
|
||||||
|
|
||||||
echo "SIP user $MY_USERNAME removed"
|
echo "SIP user $MY_USERNAME removed"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue