Files
transkripte/deploy/linux/uninstall_systemd_service.sh
2026-04-15 00:01:38 +02:00

12 lines
310 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
SERVICE_NAME="com.maddin.whisper-transcript-pipeline.service"
UNIT_PATH="$HOME/.config/systemd/user/$SERVICE_NAME"
systemctl --user disable --now "$SERVICE_NAME" >/dev/null 2>&1 || true
systemctl --user daemon-reload
rm -f "$UNIT_PATH"
echo "Uninstalled $SERVICE_NAME"