This commit is contained in:
Heidi
2026-05-14 20:57:34 +01:00
parent 2f067d678c
commit 2bd34c3c9b
4 changed files with 108 additions and 0 deletions
+7
View File
@@ -93,3 +93,10 @@ pm2 reload tssbot-web --update-env
Only processes listed in `PM2_RESTART_TARGETS` are reloaded. The default is
`tssbot-web`, so unrelated PM2 processes are left alone. The webhook exits after
24 hours so PM2 restarts it cleanly.
The webhook listener reads `.env` on startup. To send a Discord notification
whenever the listener starts or restarts, set:
```sh
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/...
```