From 218286894262a2c7e17f2f64fc0dfa79c11268be Mon Sep 17 00:00:00 2001 From: magikcypress Date: Sun, 26 Mar 2017 16:20:33 +0200 Subject: [PATCH] =?UTF-8?q?Supprimer=20les=20||=20true=20au=20d=C3=A9marra?= =?UTF-8?q?ge=20des=20services?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/remove | 5 +++-- scripts/restore | 1 - scripts/upgrade | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/scripts/remove b/scripts/remove index 8d8a78f..45eb184 100644 --- a/scripts/remove +++ b/scripts/remove @@ -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" # Reload services -sudo service php5-fpm restart || true -sudo service nginx reload || true \ No newline at end of file +sudo service php5-fpm restart +sudo service nginx reload +sudo yunohost app ssowatconf \ No newline at end of file diff --git a/scripts/restore b/scripts/restore index 5fcd582..b46af7c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -69,4 +69,3 @@ sudo cp -a ./php-fpm.ini "${phpfpm_ini}" sudo service nginx reload sudo service php5-fpm reload sudo yunohost app ssowatconf - diff --git a/scripts/upgrade b/scripts/upgrade index 540adb7..738333f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 set -eu @@ -57,3 +58,5 @@ fi # Reload Nginx sudo service nginx reload +sudo service php5-fpm restart +sudo yunohost app ssowatconf \ No newline at end of file