From 4872f05dc68d3ba3d1b2c5bcbb842f0d2fd7f9e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 1 Jul 2024 17:16:24 +0200 Subject: [PATCH] Remove stop line_matches --- scripts/remove | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index fb6c978..7bf9ab5 100755 --- a/scripts/remove +++ b/scripts/remove @@ -18,7 +18,7 @@ if ynh_exec_warn_less yunohost service status "$app" >/dev/null; then fi # Remove the dedicated systemd config -ynh_systemd_action --service_name="$app" --action="stop" --line_match="Stopped Biboumi" --log_path="systemd" +ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd" systemctl disable "$app.service" --quiet # Remove the app-specific logrotate config diff --git a/scripts/upgrade b/scripts/upgrade index 2e9d5fa..eaa512f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -12,7 +12,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Stopping $app's systemd service..." --weight=1 -ynh_systemd_action --service_name="$app" --action="stop" --line_match="Stopped Biboumi" --log_path="systemd" +ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd" #================================================= # CREATE DIRECTORIES