mirror of
https://github.com/phantomptr/ps5upload.git
synced 2026-10-22 11:53:22 -05:00
Upload, install, convert and manage PS5 game packages over the network. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
426 B
Bash
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"
|