aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove
diff options
context:
space:
mode:
authoreric_G <46165813+ericgaspar@users.noreply.github.com>2025-09-01 11:39:26 +0200
committereric_G <46165813+ericgaspar@users.noreply.github.com>2025-09-01 11:39:26 +0200
commitf2e5d633339667d75bd9a764e056150af0054072 (patch)
tree50fad3e6c05cfb27c2c3866200756283f1de6113 /scripts/remove
parent0114f2f9b79a03241cffeff6bb18182938dda414 (diff)
parentedbf9871a19fd30634d86e7ff41d4f33b92521d4 (diff)
downloadmastodon_ynh-f2e5d633339667d75bd9a764e056150af0054072.tar.gz
mastodon_ynh-f2e5d633339667d75bd9a764e056150af0054072.tar.bz2
mastodon_ynh-f2e5d633339667d75bd9a764e056150af0054072.zip
Merge branch 'testing' into ldpreload
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