Commit Graph

7 Commits

Author SHA1 Message Date
Liam 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
FURRO404 45142f280a tss site blah 2026-06-20 21:58:27 -07:00
Heidi bccd2bf405 ai generated solutions to our ai generated problems 2026-06-19 23:36:45 +01:00
Heidi 9263d6f8eb ai generated solutions to our ai generated problems 2026-06-19 23:33:01 +01:00
FURRO404 49e75cc8f0 docs: vehicle cache env vars and logs endpoint 2026-06-18 00:33:48 -07:00
Heidi 7100f9c8e8 Harden Rust backend deployment 2026-05-29 21:56:12 +01:00
Heidi aef2113198 split the project in 2 2026-05-29 18:55:56 +01:00