mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
Supprimer les || true au démarrage des services
This commit is contained in:
parent
5329ca8292
commit
2182868942
3 changed files with 7 additions and 4 deletions
|
@ -29,5 +29,6 @@ sudo rm -f "/etc/php5/fpm/conf.d/20-${app}.ini"
|
||||||
[[ -n $domain ]] && sudo rm -f "/etc/nginx/conf.d/${domain}.d/${app}.conf"
|
[[ -n $domain ]] && sudo rm -f "/etc/nginx/conf.d/${domain}.d/${app}.conf"
|
||||||
|
|
||||||
# Reload services
|
# Reload services
|
||||||
sudo service php5-fpm restart || true
|
sudo service php5-fpm restart
|
||||||
sudo service nginx reload || true
|
sudo service nginx reload
|
||||||
|
sudo yunohost app ssowatconf
|
|
@ -69,4 +69,3 @@ sudo cp -a ./php-fpm.ini "${phpfpm_ini}"
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
sudo service php5-fpm reload
|
sudo service php5-fpm reload
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
sudo service php5-fpm restart
|
||||||
|
sudo yunohost app ssowatconf#!/bin/bash
|
||||||
|
|
||||||
# Exit on command errors and treat unset variables as an error
|
# Exit on command errors and treat unset variables as an error
|
||||||
set -eu
|
set -eu
|
||||||
|
@ -57,3 +58,5 @@ fi
|
||||||
|
|
||||||
# Reload Nginx
|
# Reload Nginx
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
|
sudo service php5-fpm restart
|
||||||
|
sudo yunohost app ssowatconf
|
Loading…
Reference in a new issue