Merge pull request #503 from YunoHost/mini-bug-nginx-regenconf

[fix] sometime nginx is not running
This commit is contained in:
Bram 2018-06-30 15:18:51 +02:00 committed by GitHub
commit 36326e4ea6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ do_post_regen() {
done
# Reload nginx configuration
sudo service nginx reload
pgrep nginx && sudo service nginx reload
}
FORCE=${2:-0}