1
0
Fork 0
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:
magikcypress 2017-03-26 16:20:33 +02:00
parent 5329ca8292
commit 2182868942
3 changed files with 7 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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