From e7c410cb4080eacfaa32ea17736d1ea1e5e13286 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 12 Apr 2017 11:45:20 +0200 Subject: [PATCH] update remove script --- scripts/remove | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/remove b/scripts/remove index c2316ad..5516a76 100644 --- a/scripts/remove +++ b/scripts/remove @@ -17,24 +17,25 @@ domain=$(ynh_app_setting_get "$app" domain) if [ -e "/etc/systemd/system/mastodon-web.service" ]; then echo "Delete systemd script" sudo systemctl stop mastodon-web.service - sudo rm "/etc/systemd/system/mastodon-web.service" sudo systemctl disable mastodon-web.service + sudo rm "/etc/systemd/system/mastodon-web.service" + fi # Stop mastodon-sidekiq if [ -e "/etc/systemd/system/mastodon-sidekiq.service" ]; then echo "Delete systemd script" sudo systemctl stop mastodon-sidekiq.service - sudo rm "/etc/systemd/system/mastodon-sidekiq.service" sudo systemctl disable mastodon-sidekiq.service + sudo rm "/etc/systemd/system/mastodon-sidekiq.service" fi # Stop mastodon-sidekiq if [ -e "/etc/systemd/system/mastodon-streaming.service" ]; then echo "Delete systemd script" sudo systemctl stop mastodon-sidekiq.streaming - sudo rm "/etc/systemd/system/mastodon-streaming.service" sudo systemctl disable mastodon-streaming.service + sudo rm "/etc/systemd/system/mastodon-streaming.service" fi # Delete service on Yunohost monitoring