mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-05-07 05:57:30 +02:00
reload instead restart for nginx
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -1350,4 +1350,4 @@ get_config_value() {
|
||||
|
||||
# Print value
|
||||
echo "$value"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user