Files
ps5upload/scripts/autolaunch/uninstall-linux.sh
T
phantomptrandClaude Opus 5.5 c14782944d PS5Upload v5.35.0
Upload, install, convert and manage PS5 game packages over the network.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 04:31:13 -07:00

14 lines
426 B
Bash

#!/usr/bin/env bash
# uninstall-linux.sh — remove the ps5upload-engine systemd user service.
set -euo pipefail
SERVICE_NAME="ps5upload-engine"
UNIT_FILE="${HOME}/.config/systemd/user/${SERVICE_NAME}.service"
systemctl --user stop "${SERVICE_NAME}" 2>/dev/null || true
systemctl --user disable "${SERVICE_NAME}" 2>/dev/null || true
rm -f "${UNIT_FILE}"
systemctl --user daemon-reload
echo "✓ ${SERVICE_NAME} removed"