summaryrefslogtreecommitdiffstats
path: root/man/systemd.service.xml
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/systemd.service.xml
parentudev: increase the size of RESULT buffer (diff)
downloadsystemd-93ae25e6fd62b2f87c3dd9ad3e81934eecc48057.tar.xz
systemd-93ae25e6fd62b2f87c3dd9ad3e81934eecc48057.zip
service: add FailureAction= option
It has the same possible values as StartLimitAction= and is executed immediately if a service fails.
Diffstat (limited to 'man/systemd.service.xml')
-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