daandemeyer / rpms / systemd

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