anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0225-systemd.service.xml-document-that-systemd-removes-th.patch

803fb7
From 7dbfc725ccbdcdf33aa46f97a68275fbd5f936c5 Mon Sep 17 00:00:00 2001
803fb7
From: Felipe Sateler <fsateler@debian.org>
803fb7
Date: Sat, 27 Jun 2015 17:25:06 -0300
803fb7
Subject: [PATCH] systemd.service.xml: document that systemd removes the
803fb7
 PIDFile
803fb7
803fb7
(cherry picked from commit 341db20b7e98199003b4ce6aa52b339757828204)
803fb7
803fb7
Cherry-picked from: 341db20
803fb7
Resolves: #1222517
803fb7
---
803fb7
 man/systemd.service.xml | 5 ++++-
803fb7
 1 file changed, 4 insertions(+), 1 deletion(-)
803fb7
803fb7
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
803fb7
index f59870563..a274db480 100644
803fb7
--- a/man/systemd.service.xml
803fb7
+++ b/man/systemd.service.xml
803fb7
@@ -226,7 +226,10 @@
803fb7
         services where <varname>Type=</varname> is set to
803fb7
         <option>forking</option>. systemd will read the PID of the
803fb7
         main process of the daemon after start-up of the service.
803fb7
-        systemd will not write to the file configured here.</para>
803fb7
+        systemd will not write to the file configured here, although
803fb7
+        it will remove the file after the service has shut down if it
803fb7
+        still exists.
803fb7
+        </para>
803fb7
         </listitem>
803fb7
       </varlistentry>
803fb7