reload instead restart for nginx

This commit is contained in:
Serghey Rodin 2011-06-28 23:42:30 +03:00
commit aa5a02e99f
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -1350,4 +1350,4 @@ get_config_value() {
# Print value
echo "$value"
}
}