Sleep 25 before restart nginx

This commit is contained in:
dpeca 2018-12-14 16:39:15 +01:00 committed by GitHub
commit f1bbd788aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ if [ -f "/usr/local/vesta/web/inc/nginx_proxy" ]; then
# background restart
if [ "$1" = 'background' ]; then
# Restart system
sleep 20
sleep 25
service $PROXY_SYSTEM restart >/dev/null 2>&1
if [ $? -ne 0 ]; then
send_email_report