anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

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

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