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() { nginx() {
/etc/init.d/nginx 'restart' >/dev/null 2>&1 /etc/init.d/nginx 'reload' >/dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
#$V_FUNC/report_issue 'web' 'nginx' #$V_FUNC/report_issue 'web' 'nginx'
echo "$E_RESTART_FAILED $V_EVENT" echo "$E_RESTART_FAILED $V_EVENT"