Browse Source

Update restart routine in v-restart-ftp

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

+ 1 - 1
bin/v-restart-ftp

@@ -50,7 +50,7 @@ if [ -z "$FTP_SYSTEM" ] || [ "$FTP_SYSTEM" = 'remote' ]; then
 fi
 
 # Restart system
-service $FTP_SYSTEM restart >/dev/null 2>&1
+$BIN/v-restart-service $FTP_SYSTEM > /dev/null 2>&1
 if [ $? -ne 0 ]; then
     send_email_report
     check_result $E_RESTART "$FTP_SYSTEM restart failed"