Make Watchdog Signal Configurable

Allows configuring the watchdog signal (with a default of SIGABRT).
This allows an alternative to SIGABRT when coredumps are not desirable.

Appropriate references to SIGABRT or aborting were renamed to reflect
more liberal watchdog signals.

Closes #8658
This commit is contained in:
Anita Zhang
2018-09-26 16:14:29 +02:00
committed by Lennart Poettering
parent ee8d493cbd
commit c87700a133
14 changed files with 50 additions and 31 deletions
+8
View File
@@ -160,6 +160,14 @@
</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>WatchdogSignal=</varname></term>
<listitem><para>Specifies which signal to use to terminate the
service when the watchdog timeout expires (enabled through
<varname>WatchdogSec=</varname>). Defaults to <constant>SIGABRT</constant>.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>