From 9cd0b82650e3bc2d093611aa672707e348825ec5 Mon Sep 17 00:00:00 2001 From: ljf Date: Thu, 9 Nov 2017 12:13:38 +0100 Subject: [PATCH] [fix] Bad service name giving to ynh --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 35e1849..b59350c 100755 --- a/scripts/install +++ b/scripts/install @@ -118,7 +118,7 @@ find "$final_path" -type d -print0 | xargs -0 chmod 750 # ADD SERVICE IN ADMIN PANEL #================================================= yunohost service add mongod --log "/var/log/mongodb.log" -yunohost service add wekan +yunohost service add $app #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index b363d0d..456bc1d 100644 --- a/scripts/restore +++ b/scripts/restore @@ -93,7 +93,7 @@ find "$final_path" -type d -print0 | xargs -0 chmod 750 # ADD SERVICE IN ADMIN PANEL #================================================= yunohost service add mongod --log "/var/log/mongodb.log" -yunohost service add wekan +yunohost service add $app #================================================= # SETUP SSOWAT diff --git a/scripts/upgrade b/scripts/upgrade index 949a37b..0034a5d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -45,7 +45,7 @@ if ynh_version_gt "0.45-2" "${version}" ; then systemctl daemon-reload fi if ynh_version_gt "0.45-3" "${version}" ; then - yunohost service add wekan + yunohost service add $app fi if ynh_version_gt "0.54-2" "${version}" ; then systemctl enable mongod