Files
wownerogue/scripts/wownerogue-backup.service
jwinterm fad2a695bd Wownerogue
A browser-based roguelike synchronized with crypto block timing. A run is a race
against the next block: reach the exit before the block lands, or the house wins.
The same codebase runs the solo dungeon, the social Tavern, and operator-selected
PvP and race rulesets, with separate free and paid leaderboards.

Self-hostable under the MIT License. See README.md to run it, docs/ARCHITECTURE.md
for the design, and docs/DEPLOY.md to operate an instance.
2026-07-27 08:23:01 -04:00

27 lines
671 B
Desktop File

[Unit]
Description=Wownerogue PostgreSQL Backup
After=postgresql.service
[Service]
Type=oneshot
# Run as the user who owns the application (adjust as needed)
# User=wownerogue
# Load environment from the application's .env file
# Update this path to match your installation
EnvironmentFile=/var/www/wownerogue/src/.env
# Override backup-specific settings if needed
Environment="BACKUP_DIR=/var/backups/wownerogue"
Environment="RETENTION_DAYS=30"
# Run the backup script
# Update this path to match your installation
ExecStart=/var/www/wownerogue/scripts/backup_db.sh
# Working directory
WorkingDirectory=/var/www/wownerogue/src
[Install]
WantedBy=multi-user.target