summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-03-24 00:11:29 +0800
committerGitHub <noreply@github.com>2023-03-24 00:11:29 +0800
commitf1710073c7d9de58ba28bf7a9fdb15ec34fec444 (patch)
treeec239114766dde6caa76d27f0d1730927a1312ff /man
parent1441a6a7518b4c8d361e6a29b3f6a4bf765a1171 (diff)
parentb64f5ddacad725d5e4e021691fad52aa2eb32c46 (diff)
downloadsystemd-f1710073c7d9de58ba28bf7a9fdb15ec34fec444.tar.gz
Merge pull request #26214 from YHNdnzj/sd-notify-change-notifyaccess
core: support overriding NOTIFYACCESS= through sd-notify during runtime
Diffstat (limited to 'man')
-rw-r--r--man/org.freedesktop.systemd1.xml1
-rw-r--r--man/sd_notify.xml10
2 files changed, 10 insertions, 1 deletions
diff --git a/man/org.freedesktop.systemd1.xml b/man/org.freedesktop.systemd1.xml
index 141fde05b4..bc5f8ea388 100644
--- a/man/org.freedesktop.systemd1.xml
+++ b/man/org.freedesktop.systemd1.xml
@@ -2560,7 +2560,6 @@ node /org/freedesktop/systemd1/unit/avahi_2ddaemon_2eservice {
readonly s Restart = '...';
@org.freedesktop.DBus.Property.EmitsChangedSignal("const")
readonly s PIDFile = '...';
- @org.freedesktop.DBus.Property.EmitsChangedSignal("const")
readonly s NotifyAccess = '...';
@org.freedesktop.DBus.Property.EmitsChangedSignal("const")
readonly t RestartUSec = ...;
diff --git a/man/sd_notify.xml b/man/sd_notify.xml
index 8a09112865..cb07add95e 100644
--- a/man/sd_notify.xml
+++ b/man/sd_notify.xml
@@ -155,6 +155,16 @@
</varlistentry>
<varlistentry>
+ <term>NOTIFYACCESS=…</term>
+
+ <listitem><para>Reset the access to the service status notification
+ socket during runtime, overriding <varname>NotifyAccess=</varname> setting
+ in the service unit file. See <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ for details, specifically <literal>NotifyAccess=</literal> for a list of
+ accepted values.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>ERRNO=…</term>
<listitem><para>If a service fails, the errno-style error