summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-13 18:51:30 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-13 18:51:30 +0100
commit3185a36b05d53757a412f847d8c510978b9b00f0 (patch)
tree14e95eaae6c7dc0ecfc4486efbbbb9446e4be0ed /man
parente9fbc77c8f6a396ce9432e3791710e30de6e570b (diff)
service: make main pid guessing optional, and reread pid file after reloads
Diffstat (limited to 'man')
-rw-r--r--man/systemd.service.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 3bd058f00b..7200525c03 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -216,6 +216,30 @@
</varlistentry>
<varlistentry>
+ <term><varname>GuessMainPID=</varname></term>
+
+ <listitem><para>Takes a boolean value
+ that specifies whether systemd should
+ try to guess the main PID of a service
+ should if it cannot be determined
+ reliably. This option is ignored
+ unless <option>Type=forking</option>
+ is set and <option>PIDFile=</option>
+ is unset because for the other types
+ or with an explicitly configured PID
+ file the main PID is always known. The
+ guessing algorithm might come to
+ incorrect conclusions if a daemon
+ consists of more than one process. If
+ the main PID cannot be determined
+ failure detection and automatic
+ restarting of a service will not work
+ reliably. Defaults to
+ <option>yes</option>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>PIDFile=</varname></term>
<listitem><para>Takes an absolute file