Commit Graph

7 Commits

Author SHA1 Message Date
notsotoothless 341dae1913 feat: replace PM2 with systemd --user services for production
Runs tssbot-web, tssbot-webhook, and tssbot-backend as systemd --user
units instead of PM2 processes. tssbot-web moves from a 2-worker PM2
cluster to a single instance, so deploys now restart it directly
instead of doing a zero-downtime cluster reload.

webhook.cjs now shells out to `systemctl --user restart` instead of
`pm2 reload`, and PM2_RESTART_TARGETS/WEBHOOK_PM2_NAME are renamed to
RESTART_TARGETS/WEBHOOK_SERVICE_NAME. scripts/install-systemd-services.sh
symlinks the new unit files into ~/.config/systemd/user and enables them.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-01 22:58:15 +00:00
clippii 237a9a69fc ai generated solutions to our ai generated problems 2026-06-22 19:51:13 +01:00
FURRO404 a86d762fe2 meow 2026-06-18 03:08:30 -07:00
FURRO404 d5fc2b5831 event log 2026-06-18 02:38:44 -07:00
FURRO404 51c0dd264a fix: dedup battle-logs list (one row/session), case-insensitive vehicle lookup, win/loss colors, clearer dividers, centered stat columns 2026-06-18 01:29:30 -07:00
FURRO404 616139d6ce test: build/locate backend binary + override origin in verify script 2026-06-18 01:09:06 -07:00
FURRO404 5c911abc10 test: end-to-end verification script for game-detail parity 2026-06-18 00:58:35 -07:00