umi/contrib/notify.sh
2025-03-12 03:33:52 +00:00

7 lines
218 B
Bash

#!/usr/bin/bash
curl \
-X POST \
-H "Content-Type: application/json" \
-d \'{"username": "system", "content": "umi instance failed: `'$1'` has stopped"}\' \
$DISCORD_STATUS_WEBHOOK_URL