summaryrefslogtreecommitdiff
path: root/src/systemd/sd-daemon.h
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-01-26 17:44:03 +0800
committerMike Yuan <me@yhndnzj.com>2023-03-22 06:33:12 +0800
commit19dff6914dee94b36320dbfda94f60af30ac65c1 (patch)
treee574d4d48024b81901008bc65585c47d9537b616 /src/systemd/sd-daemon.h
parent2415a0c7aa1801c6080ba1b8e8d584d5eb0a8c01 (diff)
downloadsystemd-19dff6914dee94b36320dbfda94f60af30ac65c1.tar.gz
core: support overriding NOTIFYACCESS= through sd-notify during runtime
Closes #25963
Diffstat (limited to 'src/systemd/sd-daemon.h')
-rw-r--r--src/systemd/sd-daemon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/systemd/sd-daemon.h b/src/systemd/sd-daemon.h
index 53a1d7ccfe..6f88cf02fa 100644
--- a/src/systemd/sd-daemon.h
+++ b/src/systemd/sd-daemon.h
@@ -195,6 +195,10 @@ int sd_is_mq(int fd, const char *path);
readable error message. Example: "STATUS=Completed
66% of file system check..."
+ NOTIFYACCESS=...
+ Reset the access to the service status notification socket.
+ Example: "NOTIFYACCESS=main"
+
ERRNO=... If a daemon fails, the errno-style error code,
formatted as string. Example: "ERRNO=2" for ENOENT.