diff --git a/manual-daemon.html b/manual-daemon.html index 71efd0ad..529640ba 100644 --- a/manual-daemon.html +++ b/manual-daemon.html @@ -849,10 +849,31 @@ not relate to array access or follow the task- naming convention. It is strongly recommended to implement a default handler to ignore unrecognized events
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
+
+