We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b329be0 commit a3a2daaCopy full SHA for a3a2daa
1 file changed
bin/v-restart-proxy
@@ -53,7 +53,7 @@ fi
53
if [ "$1" = 'background' ]; then
54
# Restart system
55
sleep 1
56
- rm /tmp/restart-nginx
+ # rm /tmp/restart-nginx
57
service $PROXY_SYSTEM restart >/dev/null 2>&1
58
if [ $? -ne 0 ]; then
59
send_email_report
@@ -68,17 +68,17 @@ if [ "$1" = 'background' ]; then
68
exit;
69
fi
70
71
-if [ -f "/tmp/restart-nginx" ]; then
72
- exit;
73
-fi
+# if [ -f "/tmp/restart-nginx" ]; then
+# exit;
+# fi
74
75
service $PROXY_SYSTEM reload
76
77
78
check_result $E_RESTART "$PROXY_SYSTEM reload failed"
79
80
81
-touch /tmp/restart-nginx
+# touch /tmp/restart-nginx
82
nohup $BIN/v-restart-proxy 'background' &>/dev/null &
83
84
#----------------------------------------------------------#
0 commit comments