[Unit]
Description=Quantum Arcade warm standby
After=docker.service
Requires=docker.service

[Service]
Type=simple
WorkingDirectory=/opt/quantum-arcade
Environment=ARCADE_BACKUP_DIR=/var/backups/quantum-arcade
Environment=ARCADE_STANDBY_INTERVAL=300
ExecStart=/opt/quantum-arcade/ops/standby.sh follow
Restart=always
RestartSec=30

[Install]
WantedBy=multi-user.target
