mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
reload instead restart for nginx
This commit is contained in:
parent
0b5cf52114
commit
aa5a02e99f
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue