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