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]>
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
# 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]"
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=SyncGames agent environment (documentation unit)
|
||||
Documentation=file://%h/Documents/CursorProjects/Linux app issues/SyncGames/README.md
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
# Ensure config exists; real work is per-game [email protected]
|
||||
ExecStart=/bin/true
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=SyncGames watcher for %i
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
# Install agent into PATH or set Environment= PATH=
|
||||
# Example: Environment=SYNCGAMES_CONFIG=%h/.config/syncgames
|
||||
ExecStart=%h/.local/bin/syncgames watch %i
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user