Set up ddclient
This commit is contained in:
7
mounts/ddclient/data/postscript_gotify.sh
Executable file
7
mounts/ddclient/data/postscript_gotify.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user