man: document the new RuntimeMaxSec= setting
This commit is contained in:
parent
d6c16624bf
commit
2c29d3324d
|
@ -470,7 +470,7 @@
|
||||||
configured time, the service will be considered failed and
|
configured time, the service will be considered failed and
|
||||||
will be shut down again. Takes a unit-less value in seconds,
|
will be shut down again. Takes a unit-less value in seconds,
|
||||||
or a time span value such as "5min 20s". Pass
|
or a time span value such as "5min 20s". Pass
|
||||||
<literal>0</literal> to disable the timeout logic. Defaults to
|
<literal>infinity</literal> to disable the timeout logic. Defaults to
|
||||||
<varname>DefaultTimeoutStartSec=</varname> from the manager
|
<varname>DefaultTimeoutStartSec=</varname> from the manager
|
||||||
configuration file, except when
|
configuration file, except when
|
||||||
<varname>Type=oneshot</varname> is used, in which case the
|
<varname>Type=oneshot</varname> is used, in which case the
|
||||||
|
@ -489,7 +489,7 @@
|
||||||
<varname>KillMode=</varname> in
|
<varname>KillMode=</varname> in
|
||||||
<citerefentry><refentrytitle>systemd.kill</refentrytitle><manvolnum>5</manvolnum></citerefentry>).
|
<citerefentry><refentrytitle>systemd.kill</refentrytitle><manvolnum>5</manvolnum></citerefentry>).
|
||||||
Takes a unit-less value in seconds, or a time span value such
|
Takes a unit-less value in seconds, or a time span value such
|
||||||
as "5min 20s". Pass <literal>0</literal> to disable the
|
as "5min 20s". Pass <literal>infinity</literal> to disable the
|
||||||
timeout logic. Defaults to
|
timeout logic. Defaults to
|
||||||
<varname>DefaultTimeoutStopSec=</varname> from the manager
|
<varname>DefaultTimeoutStopSec=</varname> from the manager
|
||||||
configuration file (see
|
configuration file (see
|
||||||
|
@ -505,6 +505,16 @@
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><varname>RuntimeMaxSec=</varname></term>
|
||||||
|
|
||||||
|
<listitem><para>Configures a maximum time for the service to run. If this is used and the service has been
|
||||||
|
active for longer than the specified time it is terminated and put into a failure state. Note that this setting
|
||||||
|
does not have any effect on <varname>Type=oneshot</varname> services, as they terminate immediately after
|
||||||
|
activation completed. Pass <literal>infinity</literal> (the default) to configure no runtime
|
||||||
|
limit.</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>WatchdogSec=</varname></term>
|
<term><varname>WatchdogSec=</varname></term>
|
||||||
<listitem><para>Configures the watchdog timeout for a service.
|
<listitem><para>Configures the watchdog timeout for a service.
|
||||||
|
|
Loading…
Reference in a new issue