diff --git a/scripts/install b/scripts/install index e18a1b8..13d428c 100755 --- a/scripts/install +++ b/scripts/install @@ -327,7 +327,7 @@ chown -R $app: /var/log/$app/ ### - Remove the section "REMOVE SERVICE FROM ADMIN PANEL" in the remove script ### - As well as the section ADVERTISE SERVICE IN ADMIN PANEL" in the restore script -yunohost service add $app --log "/var/log/$app/APP.log" +#yunohost service add $app --log "/var/log/$app/APP.log" # if using yunohost version 3.2 or more in the 'manifest.json', a description can be added #yunohost service add $app --description "$app daemon for XXX" --log "/var/log/$app/APP.log" diff --git a/scripts/remove b/scripts/remove index ec9d2ea..cde9be7 100755 --- a/scripts/remove +++ b/scripts/remove @@ -35,11 +35,11 @@ ynh_remove_systemd_config #================================================= # Remove a service from the admin panel, added by `yunohost service add` -if yunohost service status | grep -q $app -then - echo "Remove $app service" - yunohost service remove $app -fi +#if yunohost service status | grep -q $app +#then +# echo "Remove $app service" +# yunohost service remove $app +#fi #================================================= # REMOVE DEPENDENCIES diff --git a/scripts/restore b/scripts/restore index 1f6387d..ba71051 100755 --- a/scripts/restore +++ b/scripts/restore @@ -110,7 +110,7 @@ chown -R root: $final_path # ADVERTISE SERVICE IN ADMIN PANEL #================================================= -yunohost service add $app --log "/var/log/$app/APP.log" +#yunohost service add $app --log "/var/log/$app/APP.log" #================================================= # RESTORE SYSTEMD