valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0088-man-document-that-ExecStartPre-is-not-the-place-to-s.patch

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