Improve upgrade script

This commit is contained in:
Julien VAUBOURG
2015-07-24 19:44:34 +02:00
parent ad2697c0f0
commit 09f23b5a08
3 changed files with 4 additions and 4 deletions

View File

@@ -123,13 +123,11 @@ sudo systemctl restart php5-fpm
sudo systemctl reload nginx
sudo systemctl enable ynh-vpnclient
sudo yunohost service add ynh-vpnclient
if ! $upgrade; then
sudo systemctl start ynh-vpnclient
sudo yunohost service add ynh-vpnclient
sudo yunohost app ssowatconf
# Check configuration consistency
if [ -z "${crt_server_ca_path}" ]; then
@@ -141,4 +139,6 @@ if ! $upgrade; then
fi
fi
sudo yunohost app ssowatconf
exit 0