Commit Graph

28 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
Clippii 109eeebfb1 updates to api protections 2026-06-28 16:01:57 +01:00
Clippii 2737cc7c03 rape 2026-06-28 12:56:48 +01:00
Heidi 237a9a69fc ai generated solutions to our ai generated problems 2026-06-22 19:51:13 +01:00
FURRO404 45142f280a tss site blah 2026-06-20 21:58:27 -07:00
Heidi 22bff51147 ai generated solutions to our ai generated problems 2026-06-20 00:43:44 +01:00
Heidi 152467515d ai generated solutions to our ai generated problems 2026-06-20 00:32:28 +01:00
Heidi 7f1e6d0bef ai generated solutions to our ai generated problems 2026-06-20 00:20:48 +01:00
Heidi e7a172f52f ai generated solutions to our ai generated problems 2026-06-20 00:14:16 +01:00
Heidi a05ccf8bbc ai generated solutions to our ai generated problems 2026-06-20 00:05:56 +01:00
Heidi a60999a54e ai generated solutions to our ai generated problems 2026-06-20 00:05:10 +01:00
FURRO404 fd932a7b2a fix: default vehicle icon cache to vehicle_data_cache.json (the file the bots write) 2026-06-18 01:32:05 -07:00
FURRO404 49e75cc8f0 docs: vehicle cache env vars and logs endpoint 2026-06-18 00:33:48 -07:00
Heidi 5bd8cab0ce ai generated solutions to our ai generated problems 2026-06-15 08:59:15 +01: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
Heidi 69fc002961 meow && add song of the day! 2026-05-27 14:49:26 +01:00
Heidi 3a2cd9b1aa fix 2026-05-16 17:01:22 +01:00
Heidi e44b263f2e update osm 2026-05-16 09:35:51 +01:00
Heidi 878e2a6a47 update osm 2026-05-16 08:55:12 +01:00
Heidi fe2e2751d5 aggressive data collection :PP 2026-05-14 23:07:30 +01:00
Heidi ef10da8b0b aggressive data collection :PP 2026-05-14 22:52:33 +01:00
Heidi 98f374a300 postgres makes me want to kill myself actually, sqlite all the way :333 2026-05-14 21:23:40 +01:00
Heidi e58adcc716 postgres uptime 2026-05-14 21:16:06 +01:00
Heidi 2bd34c3c9b fix 2026-05-14 20:57:34 +01:00
Heidi a4931d3bbc fix:/ add api protections :3 2026-05-14 16:02:56 +01:00
Heidi 0ca2dcdcf2 chore:/update fallback port 2026-05-14 15:55:20 +01:00
Heidi c02a56cafa init 2026-05-14 15:43:32 +01:00