From c3c86a1c9e273c1e3b822d0fc63cbba27191e387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sun, 26 May 2024 11:58:36 +0200 Subject: [PATCH] Fix remove --- scripts/remove | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/remove b/scripts/remove index 2384c09..eda18e2 100755 --- a/scripts/remove +++ b/scripts/remove @@ -18,9 +18,9 @@ for suffix in "${systemd_services_suffixes[@]}"; do if ynh_exec_warn_less yunohost service status "$app_suffix" >/dev/null; then yunohost service remove "$app_suffix" fi - ynh_systemd_action --service="$app$suffix.timer" --action="stop" - ynh_systemd_action --service="$app$suffix.timer" --action="disable" - ynh_remove_systemd_config --service="$app$suffix" + ynh_systemd_action --service_name="$app$suffix.timer" --action="stop" + ynh_systemd_action --service_name="$app$suffix.timer" --action="disable" + ynh_remove_systemd_config --service_name="$app$suffix" ynh_secure_remove "/etc/systemd/system/$app$suffix.timer" done