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"