Sfoglia il codice sorgente

stop and start sip

Bob Mottram 9 anni fa
parent
commit
07b795222b
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3
    1
      src/freedombone-rmsipuser

+ 3
- 1
src/freedombone-rmsipuser Vedi File

@@ -97,9 +97,11 @@ if [[ $USER_EXISTS != "yes" ]]; then
97 97
     exit 3
98 98
 fi
99 99
 
100
+systemctl stop sipwitch
101
+
100 102
 remove_sip_user
101 103
 
102
-systemctl restart sipwitch
104
+systemctl start sipwitch
103 105
 
104 106
 echo "SIP user $MY_USERNAME removed"
105 107
 exit 0