mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
Restart nginx after 20 sec
This commit is contained in:
parent
b04dce9ce3
commit
40947919e0
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ fi
|
|||
# background restart
|
||||
if [ "$1" = 'background' ]; then
|
||||
# Restart system
|
||||
sleep 2
|
||||
sleep 20
|
||||
service $PROXY_SYSTEM restart >/dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
send_email_report
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue