diff options
author | Mike Yuan <me@yhndnzj.com> | 2023-01-26 17:44:03 +0800 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2023-03-22 06:33:12 +0800 |
commit | 19dff6914dee94b36320dbfda94f60af30ac65c1 (patch) | |
tree | e574d4d48024b81901008bc65585c47d9537b616 /src/systemd/sd-daemon.h | |
parent | 2415a0c7aa1801c6080ba1b8e8d584d5eb0a8c01 (diff) | |
download | systemd-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.h | 4 |
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. |