File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -174,15 +174,13 @@ echo "DOMAIN='$domain' IP='$ip' IP6='' ALIAS='$ALIAS' TPL='$WEB_TEMPLATE'\
174174 SUSPENDED='no' TIME='$time ' DATE='$date '" >> $USER_DATA /web.conf
175175
176176# Restarting web server
177- if [ " $restart " != ' no' ]; then
178- $BIN /v-restart-web
179- check_result $? " Web restart failed" > /dev/null
180-
181- # Restarting proxy server
182- if [ ! -z " $PROXY_SYSTEM " ]; then
183- $BIN /v-restart-proxy
184- check_result $? " Proxy restart failed" > /dev/null
185- fi
177+ $BIN /v-restart-web $restart
178+ check_result $? " Web restart failed" > /dev/null
179+
180+ # Restarting proxy server
181+ if [ ! -z " $PROXY_SYSTEM " ]; then
182+ $BIN /v-restart-proxy $restart
183+ check_result $? " Proxy restart failed" > /dev/null
186184fi
187185
188186# Logging
You can’t perform that action at this time.
0 commit comments