From aa5a02e99f993ce699f6ca43221ada9736d671da Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 28 Jun 2011 23:42:30 +0300 Subject: [PATCH] reload instead restart for nginx --- func/restart_web | 2 +- func/shared_func.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/func/restart_web b/func/restart_web index 4ac60018c..a07feade2 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 6b32a7266..b9e06896d 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 +}