diff options
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r-- | man/systemd.unit.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index a03df65dcb..7284524dbb 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -399,6 +399,15 @@ </varlistentry> <varlistentry> + <term><varname>OnFailure=</varname></term> + + <listitem><para>Lists one or more + units that are activated when this + unit fails (i.e. enters maintenance + state).</para></listitem> + </varlistentry> + + <varlistentry> <term><varname>RecursiveStop=</varname></term> <listitem><para>Takes a boolean @@ -495,6 +504,34 @@ fails the unit will immediately fail too and the job is removed.</para></listitem> </varlistentry> + + <varlistentry> + <term><varname>JobTimeoutSec=</varname></term> + + <listitem><para>When clients are + waiting for a job of this unit to + complete, time out after the specified + time. If this time limit is reached + the job will be cancelled, the unit + however will not change state or even + enter maintenance mode. This value + defaults to 0 (job timeouts disabled), + except for device units. NB: this + timeout is independent from any + unit-specific timeout (for example, + the timeout set with + <varname>Timeout=</varname> in service + units) as the job timeout has no effect + on the unit itself, only on the job + that might be pending for it. Or in + other words: unit-specific timeouts + are useful to abort unit state + changes, and revert them. The job + timeout set with this option however + is useful to abort only the job waiting + for the unit state to change.</para></listitem> + </varlistentry> + </variablelist> <para>Unit file may include a [Install] section, which |