Files
SyncGames/systemd/install-user-units.sh
T
DawnsorrowandCursor 0d6b0b2f80 Initial SyncGames tree: agent, Android, deploy, docs.
Session-gated MinIO save sync with AppImage GUI, CLI edit/session flow, and Gitea release helper.

Co-authored-by: Cursor <[email protected]>
2026-07-14 22:06:36 -05:00

12 lines
462 B
Bash
Executable File

# Install SyncGames systemd user units
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
UNIT_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/systemd/user"
mkdir -p "$UNIT_DIR"
cp "$ROOT/systemd/syncgames-agent.service" "$UNIT_DIR/"
cp "$ROOT/systemd/[email protected]" "$UNIT_DIR/"
systemctl --user daemon-reload
echo "Installed units to $UNIT_DIR"
echo "Enable a game watcher: systemctl --user enable --now [email protected]"