diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-03-25 14:15:45 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-04-21 09:58:53 -0400 |
commit | efe6e7d33a9feb0b647c77862016284457895fa6 (patch) | |
tree | 1f68e82474c08a7510b25f0d8226ec11143edaca /man/systemd.service.xml | |
parent | c5220a940d00fc2520c702104939d0a4cf637254 (diff) |
service: add support for reboot argument when triggered by StartLimitAction=
When rebooting with systemctl, an optional argument can be passed to the
reboot system call. This makes it possible the specify the argument in a
service file and use it when the service triggers a restart.
This is useful to distinguish between manual reboots and reboots caused by
failing services.
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r-- | man/systemd.service.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 5b3afb86d2..a2a1b6b508 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -1017,6 +1017,19 @@ ExecStart=/bin/echo $ONE $TWO ${TWO}</programlisting> <option>none</option>.</para></listitem> </varlistentry> + <varlistentry> + <term><varname>RebootArgument=</varname></term> + <listitem><para>Configure the optional + argument for the + <citerefentry><refentrytitle>reboot</refentrytitle><manvolnum>2</manvolnum></citerefentry> + system call if + <varname>StartLimitAction=</varname> + is a reboot action. This works just + like the optional argument to + <command>systemctl reboot</command> + command.</para></listitem> + </varlistentry> + </variablelist> <para>Check |