summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2015-08-24 14:54:22 +0200
committerJan Synacek <jsynacek@redhat.com>2015-08-25 13:52:44 +0200
commit9ef15026c0e7e6600372056c43442c99ec53746e (patch)
tree7b82f423cb3499c100c1d2a2b5540d336d4928f9 /man
parent72aa2c2a2083362afda9f09805563848d54e31df (diff)
logind/systemctl: introduce SetWallMessage and --message
Enable unprivileged users to set wall message on a shutdown operation. When the message is set via the --message option, it is logged together with the default shutdown message. $ systemctl reboot --message "Applied kernel updates." $ journalctl -b -1 ... systemd-logind[27]: System is rebooting. (Applied kernel updates.) ...
Diffstat (limited to 'man')
-rw-r--r--man/systemctl.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 0b5282ba21..20d143741b 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -474,6 +474,18 @@
</varlistentry>
<varlistentry>
+ <term><option>--message=</option></term>
+
+ <listitem>
+ <para>When used with <command>halt</command>,
+ <command>poweroff</command>, <command>reboot</command> or
+ <command>kexec</command>, set a short message explaining the reason
+ for the operation. The message will be logged together with the
+ default shutdown message.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--now</option></term>
<listitem>