Use systemd restart

This commit is contained in:
Bob Mottram 2015-11-02 12:19:30 +00:00
parent a9efd5bcb3
commit 740a26edb6
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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