aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove
diff options
context:
space:
mode:
authoreric_G <46165813+ericgaspar@users.noreply.github.com>2025-09-01 10:16:50 +0200
committerGitHub <noreply@github.com>2025-09-01 10:16:50 +0200
commitd9d151b9bc84d62a4ac9371454f6de4f3c1c80b2 (patch)
tree6627f348ce8fac8774f618c72a0e08e7ba976429 /scripts/remove
parent4976431397f6e9824526276bdd94d62cefb3548a (diff)
parentedbf9871a19fd30634d86e7ff41d4f33b92521d4 (diff)
downloadmastodon_ynh-d9d151b9bc84d62a4ac9371454f6de4f3c1c80b2.tar.gz
mastodon_ynh-d9d151b9bc84d62a4ac9371454f6de4f3c1c80b2.tar.bz2
mastodon_ynh-d9d151b9bc84d62a4ac9371454f6de4f3c1c80b2.zip
Merge branch 'testing' into ruby-and-nodejs-resources
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 e97be10..5901cc8 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