923a60
From 1c8b76caab7d5164ac2d0d09aff9e4ffecdf205e Mon Sep 17 00:00:00 2001
923a60
From: Lennart Poettering <lennart@poettering.net>
923a60
Date: Mon, 9 Mar 2015 18:01:47 +0100
923a60
Subject: [PATCH] man: document that ExecStartPre= is not the place to start
923a60
 long-running processes
923a60
923a60
(cherry picked from commit b481de3b22fcd838a8f059aed8745375afdb9eca)
923a60
---
923a60
 man/systemd.service.xml | 5 +++++
923a60
 1 file changed, 5 insertions(+)
923a60
923a60
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
923a60
index c03b4e8a54..f598705633 100644
923a60
--- a/man/systemd.service.xml
923a60
+++ b/man/systemd.service.xml
923a60
@@ -334,6 +334,11 @@
923a60
         <para>If any of those commands (not prefixed with
923a60
         <literal>-</literal>) fail, the rest are not executed and the
923a60
         unit is considered failed.</para>
923a60
+
923a60
+        <para>Note that <varname>ExecStartPre=</varname> may not be
923a60
+        used to start long-running processes. All processes forked
923a60
+        off by processes invoked via <varname>ExecStartPre=</varname> will
923a60
+        be killed before the next service process is run.</para>
923a60
         </listitem>
923a60
       </varlistentry>
923a60