From 24d6d01a4585ac81369ebc6d4e20af68e3bc33d8 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 7 Jun 2022 23:23:44 +0200 Subject: [PATCH] Update remove --- scripts/remove | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index fefd8f0..1d5bf06 100644 --- a/scripts/remove +++ b/scripts/remove @@ -42,8 +42,8 @@ ynh_script_progression --message="Stopping and removing the systemd service..." systemctl stop ${app}.target systemctl disable ${app}.target --quiet -ynh_remove_systemd_config --service="$app_web" -ynh_remove_systemd_config --service="$app_sidekiq" +ynh_remove_systemd_config --service="${app}_web" +ynh_remove_systemd_config --service="${app}_sidekiq" ynh_secure_remove --file="/etc/tmpfiles.d/${app}.conf" ynh_secure_remove --file="/etc/systemd/system/${app}.target" ynh_secure_remove --file="/run/${app}"