File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ if [ "$update" = 'yes' ] && [ "$restart" != 'no' ]; then
101101 fi
102102 fi
103103
104- $BIN /v-restart-service $service $restart > /dev/null 2>&1
104+ $BIN /v-restart-service $service $restart > /dev/null 2>&1
105105
106106 if [ $? -ne 0 ]; then
107107 for config in $dst ; do
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ check_args '1' "$#" 'SERVICE'
2929# ----------------------------------------------------------#
3030
3131if [ " $service " != " iptables" ]; then
32- systemctl restart $service > /dev/null 2>&1
32+ systemctl restart $service > /dev/null 2>&1
3333 if [ $? -ne 0 ]; then
3434 check_result $E_RESTART " ERROR: Restart of $service failed."
3535 log_history " Restart of $service failed."
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ if [ -z "$WEB_SYSTEM" ] || [ "$WEB_SYSTEM" = 'remote' ]; then
4949 exit
5050fi
5151
52+ systemctl restart $WEB_SYSTEM > /dev/null 2>&1
5253
53- systemctl restart $WEB_SYSTEM > /dev/null 2>&1
5454if [ $? -ne 0 ]; then
5555 send_email_report
5656 check_result $E_RESTART " $WEB_SYSTEM restart failed"
You can’t perform that action at this time.
0 commit comments