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