service-nginx: try to start nginx.service if reload fails
This commit is contained in:
parent
1af52aad51
commit
26ec397029
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue