Files
nas-compose/mounts/ddclient/data/postscript_gotify.sh
2022-12-26 17:43:23 +01:00

8 lines
199 B
Bash
Executable File

#!/bin/bash
curl "$GOTIFY_ADDRESS/message" \
-X POST \
-H "X-Gotify-Key: $GOTIFY_TOKEN" \
-F "title=IP Address updated" \
-F "message=IP address detected as $1" \
-F "priority=5"