Skip to content

Commit

Permalink
Add warning to systemd-notify manpage
Browse files Browse the repository at this point in the history
About it not working properly for non-root users. So the next poor soul
won't have to debug why it's not working.

Alleviates systemd#2739
  • Loading branch information
binarin committed Mar 11, 2016
1 parent 5d331c1 commit d2d10f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions man/systemd-notify.xml
Expand Up @@ -76,6 +76,11 @@
from this command unless <varname>NotifyAccess=all</varname> is
set for the service unit this command is called from.</para>

<para>Due to current limitations of the Linux kernel and the systemd, this
command requires <constant>CAP_SYS_ADMIN</constant> privileges to work
reliably. I.e. it's useful only in shell scripts running as a root
user.</para>

</refsect1>

<refsect1>
Expand Down

0 comments on commit d2d10f5

Please sign in to comment.