From 664ace1a8a7da7c520562d86ab5d8b28fcf73713 Mon Sep 17 00:00:00 2001
From: Andrea Mazzoleni
SECURITY REQUIREMENTS: -* The path MUST be absolute (starting with /). -* The script file MUST NOT be world-writable (recommended: 700 or 755). -* The script owner MUST match the user running the daemon or be root. -* The script MUST contain a valid shebang (e.g., #!/bin/sh). +* The script path MUST be absolute (must start with /). +* The script AND the directory containing the script MUST be owned by +
the daemon's real UID, effective UID, or root (UID 0). +
If the execution fails, check your syslog (EventLog in Windows) to get +the exact reason.
This remains inactive if no path is defined.
-notify_result = curl --narrow -f --max-time 30 --retry 3 -H "Title: %s" -H "Priority: %n" -H "Tag: %t" -H "Email: your_email@example.com" --data-binary @- https://ntfy.sh/your_private_topic +notify_result = curl --narrow -f --max-time 30 --retry 3 -H "Title: %s" -H "Priority: %n" -H "Tag: %t" --data-binary @- https://ntfy.sh/your_private_topic-
If you want to also send an email, you can add '-H "Email: your_email@example.com"' +but you also need to authenticate by sending an authentication token. See: +
https://docs.ntfy.sh/publish/#authentication
+
+