diff --git a/scripts/install b/scripts/install index 845e4c1..f5646f2 100644 --- a/scripts/install +++ b/scripts/install @@ -106,13 +106,6 @@ ynh_store_file_checksum --file="$final_path/data/config.php" chown -R $app: $final_path chmod -R 755 $final_path/data -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - -yunohost service add $app --description="Self-hosted groceries & household management" --log="/var/log/$app/$app.log" - #================================================= # SETUP SSOWAT #================================================= diff --git a/scripts/remove b/scripts/remove index 10b1f03..7ee6368 100644 --- a/scripts/remove +++ b/scripts/remove @@ -19,19 +19,6 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) final_path=$(ynh_app_setting_get --app=$app --key=final_path) -#================================================= -# STANDARD REMOVE -#================================================= -# STOP AND REMOVE SERVICE -#================================================= - -# Remove the service from the list of services known by Yunohost (added from `yunohost service add`) -if ynh_exec_warn_less yunohost service status $app >/dev/null -then - ynh_script_progression --message="Removing $app service integration..." --weight=1 - yunohost service remove $app -fi - #================================================= # REMOVE APP MAIN DIR #================================================= diff --git a/scripts/restore b/scripts/restore index ae4d2e8..afccc7e 100644 --- a/scripts/restore +++ b/scripts/restore @@ -79,13 +79,6 @@ ynh_add_fpm_config --package="$extra_php_dependencies" chown -R $app: $final_path chmod -R 755 $final_path/data -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - -yunohost service add $app --description="Self-hosted groceries & household management" --log="/var/log/$app/$app.log" - #================================================= # GENERIC FINALIZATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 748ec26..210ff0d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -110,13 +110,6 @@ ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" -- chown -R $app: $final_path chmod -R 755 $final_path/data -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - -yunohost service add $app --description="Self-hosted groceries & household management" --log="/var/log/$app/$app.log" - #================================================= # RELOAD NGINX #=================================================