Update v-restart-proxy

This commit is contained in:
dpeca 2018-12-14 15:54:24 +01:00 committed by GitHub
commit 51d8870ec1
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 15
sleep 20
service $PROXY_SYSTEM restart >/dev/null 2>&1
if [ $? -ne 0 ]; then
send_email_report