Files
wownerogue/scripts/deploy/monerogue.service
T
jwinterm aab2c1ceec docs: deploy artifacts for the monerogue.app stagenet instance
Prepared (not executed) artifacts for the two-instance deployment:
- scripts/deploy/monero-wallet-rpc.service: Monero STAGENET wallet-rpc unit
  (mirrors wownero-wallet-rpc; binds 127.0.0.1:38083, daemon :38081, password
  placeholder).
- scripts/deploy/monerogue.service: second game instance unit (separate
  user/dir/DB, :3001).
- docs/DEPLOY_INSTANCES.md: full runbook for both instances — mainnet
  reconfigured to free-to-play + NO payouts, and the new Monero stagenet
  instance with payouts ON; includes the monerogue .env and verification.

No server changes and no secrets committed (placeholders only).
2026-05-31 15:13:06 -04:00

23 lines
722 B
Desktop File

# monerogue.app game instance (Monero STAGENET, pay-to-play WITH payouts).
# Install to /etc/systemd/system/monerogue.service
#
# Separate code checkout + user + DB + .env from the wownerogue (mainnet) instance, so the
# two are fully independent. NPM (Nginx Proxy Manager) already forwards monerogue.app -> :3001.
[Unit]
Description=Monerogue Game Server (Monero Stagenet)
After=network.target postgresql.service monero-wallet-rpc.service
Wants=monero-wallet-rpc.service
[Service]
Type=simple
User=monerogue
Group=monerogue
WorkingDirectory=/var/www/monerogue/app/src
EnvironmentFile=/var/www/monerogue/app/src/.env
ExecStart=/usr/bin/node index.js
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target