mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #503 from YunoHost/mini-bug-nginx-regenconf
[fix] sometime nginx is not running
This commit is contained in:
commit
36326e4ea6
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ do_post_regen() {
|
|||
done
|
||||
|
||||
# Reload nginx configuration
|
||||
sudo service nginx reload
|
||||
pgrep nginx && sudo service nginx reload
|
||||
}
|
||||
|
||||
FORCE=${2:-0}
|
||||
|
|
Loading…
Add table
Reference in a new issue