diff --git a/scripts/install b/scripts/install index 2ee8492..8f75917 100644 --- a/scripts/install +++ b/scripts/install @@ -87,13 +87,6 @@ ynh_script_progression --message="Configuring NGINX web server..." # Create a dedicated NGINX config ynh_add_nginx_config -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." - -yunohost service add $app --description="LibreOffice-based online office suite" --log="/var/log/$app/$app.log" - #================================================= # GENERIC FINALIZATION #================================================= diff --git a/scripts/remove b/scripts/remove index 66c8507..ecd3650 100644 --- a/scripts/remove +++ b/scripts/remove @@ -21,17 +21,6 @@ port=$(ynh_app_setting_get --app=$app --key=port) #================================================= # STANDARD REMOVE -#================================================= -# REMOVE SERVICE INTEGRATION IN YUNOHOST -#================================================= - -# 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..." - yunohost service remove $app -fi - #================================================= # REMOVE DEPENDENCIES #================================================= diff --git a/scripts/restore b/scripts/restore index 55ed06f..5078f9f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -63,13 +63,6 @@ ynh_script_progression --message="Restoring the configuration..." ynh_restore_file --origin_path="/etc/loolwsd/loolwsd.xml" -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." - -yunohost service add $app --description="LibreOffice-based online office suite" --log="/var/log/$app/$app.log" - #================================================= # START SYSTEMD SERVICE #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index e658ae3..d2a5fe4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -99,13 +99,6 @@ ynh_add_config "../conf/loolwsd.xml" "/etc/loolwsd/loolwsd.xml" #================================================= # GENERIC FINALIZATION -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." - -yunohost service add $app --description="LibreOffice-based online office suite" --log="/var/log/$app/$app.log" - #================================================= # START SYSTEMD SERVICE #=================================================