service-nginx: try to start nginx.service if reload fails

This commit is contained in:
Julian Labus 2018-08-07 10:43:05 +02:00
parent 1af52aad51
commit 26ec397029
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A

View file

@ -17,4 +17,4 @@ done
chown -R www-data:admin $LOCAL_DIR
#restart
systemctl reload nginx.service
systemctl reload nginx.service || systemctl start nginx.service