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