mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
Use reload for php-fpm instead of restart
This is to avoid stopping other apps while doing a z-push_ynh install or update.
This commit is contained in:
parent
14bf735158
commit
11a4afea04
3 changed files with 3 additions and 5 deletions
|
@ -89,6 +89,6 @@ sudo chmod 644 $finalphpconf
|
||||||
sudo yunohost app setting $app skipped_uris -v "/"
|
sudo yunohost app setting $app skipped_uris -v "/"
|
||||||
|
|
||||||
# Reload Nginx and regenerate SSOwat conf
|
# Reload Nginx and regenerate SSOwat conf
|
||||||
sudo service php5-fpm restart
|
sudo service php5-fpm reload
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
|
@ -10,6 +10,6 @@ sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
sudo rm -f /etc/php5/fpm/pool.d/$app.conf
|
sudo rm -f /etc/php5/fpm/pool.d/$app.conf
|
||||||
|
|
||||||
# Restart of services
|
# Restart of services
|
||||||
sudo service php5-fpm restart
|
sudo service php5-fpm reload
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
|
@ -90,8 +90,6 @@ sudo yunohost app setting $app skipped_uris -v "/"
|
||||||
|
|
||||||
|
|
||||||
# Restart of services
|
# Restart of services
|
||||||
sudo service php5-fpm restart
|
sudo service php5-fpm reload
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue