File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 5353if [ " $1 " = ' background' ]; then
5454 # Restart system
5555 sleep 1
56- rm /tmp/restart-nginx
56+ # rm /tmp/restart-nginx
5757 service $PROXY_SYSTEM restart > /dev/null 2>&1
5858 if [ $? -ne 0 ]; then
5959 send_email_report
@@ -68,17 +68,17 @@ if [ "$1" = 'background' ]; then
6868 exit ;
6969fi
7070
71- if [ -f " /tmp/restart-nginx" ]; then
72- exit ;
73- fi
71+ # if [ -f "/tmp/restart-nginx" ]; then
72+ # exit;
73+ # fi
7474
7575service $PROXY_SYSTEM reload
7676if [ $? -ne 0 ]; then
7777 send_email_report
7878 check_result $E_RESTART " $PROXY_SYSTEM reload failed"
7979fi
8080
81- touch /tmp/restart-nginx
81+ # touch /tmp/restart-nginx
8282nohup $BIN /v-restart-proxy ' background' & > /dev/null &
8383
8484# ----------------------------------------------------------#
You can’t perform that action at this time.
0 commit comments