fix
This commit is contained in:
@@ -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/...
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user