Browse Source

Use restart service script when restarting web service

Kristan Kenney 6 years ago
parent
commit
fe41a30c9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-restart-web

+ 1 - 1
bin/v-restart-web

@@ -49,7 +49,7 @@ if [ -z "$WEB_SYSTEM" ] || [ "$WEB_SYSTEM" = 'remote' ]; then
     exit
 fi
 
-systemctl restart $WEB_SYSTEM > /dev/null 2>&1
+$BIN/v-restart-service $WEB_SYSTEM $restart > /dev/null 2>&1
 
 if [ $? -ne 0 ]; then
     send_email_report