ntfy notifications from unRAID using curl
Send notifications from an unRAID server to ntfy using curl. The example below notifies the result of a Docker image prune:
#!/bin/bashOUTPUT=$(docker image prune -af | tail -1)topicurl=https://ntfy.example.com/topic
curl --insecure \ -d "$OUTPUT" \ -H "Title: Dangling images cleaned on $(hostname)" \ $topicurl