summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-04-24 09:35:37 +0200
committerLennart Poettering <lennart@poettering.net>2014-04-24 20:11:20 +0200
commit93ae25e6fd62b2f87c3dd9ad3e81934eecc48057 (patch)
tree7a467226ee1aa4042a2bef0cc6b6b55f169c8e83 /man
parent209b031e4fb7b50fc1812fc7c6ea59ca2f5d0c78 (diff)
service: add FailureAction= option
It has the same possible values as StartLimitAction= and is executed immediately if a service fails.
Diffstat (limited to 'man')
-rw-r--r--man/systemd.service.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index a2a1b6b508..af32ccb878 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -1030,6 +1030,17 @@ ExecStart=/bin/echo $ONE $TWO ${TWO}</programlisting>
command.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><varname>FailureAction=</varname></term>
+ <listitem><para>Configure the action
+ to take when the service enters a failed
+ state. Takes the same values as
+ <varname>StartLimitAction=</varname>
+ and executes the same actions.
+ Defaults to <option>none</option>.
+ </para></listitem>
+ </varlistentry>
+
</variablelist>
<para>Check