aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove
diff options
context:
space:
mode:
authoreric_G <46165813+ericgaspar@users.noreply.github.com>2025-09-01 10:12:59 +0200
committereric_G <46165813+ericgaspar@users.noreply.github.com>2025-09-01 10:12:59 +0200
commit9d34db18df100918645c7f839d2d62bf44fc4d2d (patch)
tree0237daa44da5476c41e607407d96f72be37d5024 /scripts/remove
parent3d53d933d5a0c50208494f754f4325fc8e333949 (diff)
downloadmastodon_ynh-9d34db18df100918645c7f839d2d62bf44fc4d2d.tar.gz
mastodon_ynh-9d34db18df100918645c7f839d2d62bf44fc4d2d.tar.bz2
mastodon_ynh-9d34db18df100918645c7f839d2d62bf44fc4d2d.zip
cleaning
Diffstat (limited to 'scripts/remove')
-rw-r--r--scripts/remove14
1 files changed, 3 insertions, 11 deletions
diff --git a/scripts/remove b/scripts/remove
index 297786f..d2c0cb5 100644
--- a/scripts/remove
+++ b/scripts/remove
@@ -7,26 +7,18 @@ source /usr/share/yunohost/helpers
#=================================================
# REMOVE SYSTEM CONFIGURATIONS
#=================================================
-# REMOVE SYSTEMD SERVICE
-#=================================================
ynh_script_progression "Removing system configurations related to $app..."
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
-if ynh_hide_warnings yunohost service status "$app-web" >/dev/null
-then
- ynh_script_progression "Removing $app-web service integration..."
+if ynh_hide_warnings yunohost service status "$app-web" >/dev/null; then
yunohost service remove "$app-web"
fi
-if ynh_hide_warnings yunohost service status "$app-sidekiq" >/dev/null
-then
- ynh_script_progression "Removing $app-sidekiq service integration..."
+if ynh_hide_warnings yunohost service status "$app-sidekiq" >/dev/null; then
yunohost service remove "$app-sidekiq"
fi
-if ynh_hide_warnings yunohost service status "$app-streaming" >/dev/null
-then
- ynh_script_progression "Removing $app-streaming service integration..."
+if ynh_hide_warnings yunohost service status "$app-streaming" >/dev/null; then
yunohost service remove "$app-streaming"
fi