From 20c9186a019b2f74f574d50e3d5ebc7543658d3b Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Sat, 25 Apr 2020 18:08:44 +0200 Subject: [PATCH] Remove yunohost service --- scripts/remove | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/remove b/scripts/remove index 9e43d18..e151849 100644 --- a/scripts/remove +++ b/scripts/remove @@ -24,6 +24,8 @@ final_path=$(ynh_app_setting_get $app final_path) #================================================= # STOP AND REMOVE SERVICE #================================================= + +yunohost service remove $app.target systemctl stop ${app}.target ${app}_sidekiq.service ${app}_web.service systemctl disable ${app}.target ${app}_sidekiq.service ${app}_web.service ynh_secure_remove --file="/etc/systemd/system/${app}_web.service"