From 30086f78832fcb93fd36badc26933cd88e9a2ca3 Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Wed, 4 Jun 2025 17:49:23 +0100 Subject: [PATCH] fix: remove all pulse service files during uninstall MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added removal of pulse-monitor.service and pulse-proxmox.service during uninstall - Fixes false positive "Pulse is installed" detection after removal - Ensures complete cleanup of all legacy service files - Prevents orphaned service files from interfering with installation detection 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- scripts/install-pulse.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install-pulse.sh b/scripts/install-pulse.sh index 486fabd68..507a8fcc2 100755 --- a/scripts/install-pulse.sh +++ b/scripts/install-pulse.sh @@ -817,7 +817,10 @@ perform_remove() { sleep 2 pkill -9 -f "/opt/pulse/server/index.js" 2>/dev/null || true + # Remove all pulse-related service files rm -f "/etc/systemd/system/$SERVICE_NAME" + rm -f "/etc/systemd/system/pulse-monitor.service" + rm -f "/etc/systemd/system/pulse-proxmox.service" systemctl daemon-reload # Remove directories