diff --git a/func/restart_web b/func/restart_web index 4ac60018..a07feade 100755 --- a/func/restart_web +++ b/func/restart_web @@ -15,7 +15,7 @@ apache() { } nginx() { - /etc/init.d/nginx 'restart' >/dev/null 2>&1 + /etc/init.d/nginx 'reload' >/dev/null 2>&1 if [ $? -ne 0 ]; then #$V_FUNC/report_issue 'web' 'nginx' echo "$E_RESTART_FAILED $V_EVENT" diff --git a/func/shared_func.sh b/func/shared_func.sh index 6b32a726..b9e06896 100644 --- a/func/shared_func.sh +++ b/func/shared_func.sh @@ -1350,4 +1350,4 @@ get_config_value() { # Print value echo "$value" -} \ No newline at end of file +}