Skip to content

Commit 7435376

Browse files
author
Kristan Kenney
committed
Update restart routine in v-restart-ftp
1 parent 5ef49ea commit 7435376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-restart-ftp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if [ -z "$FTP_SYSTEM" ] || [ "$FTP_SYSTEM" = 'remote' ]; then
5050
fi
5151

5252
# Restart system
53-
service $FTP_SYSTEM restart >/dev/null 2>&1
53+
$BIN/v-restart-service $FTP_SYSTEM > /dev/null 2>&1
5454
if [ $? -ne 0 ]; then
5555
send_email_report
5656
check_result $E_RESTART "$FTP_SYSTEM restart failed"

0 commit comments

Comments
 (0)