linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nfs-utils: Change /var/run -> /run in systemd service files
@ 2019-05-08 14:58 Orion Poplawski
  2019-05-08 15:54 ` Steve Dickson
  0 siblings, 1 reply; 5+ messages in thread
From: Orion Poplawski @ 2019-05-08 14:58 UTC (permalink / raw)
  To: linux-nfs

[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]

This fixes:

/usr/lib/systemd/system/nfs-blkmap.service:10: PIDFile= references path below
legacy directory /var/run/, updating /var/run/blkmapd.pid → /run/blkmapd.pid;
please update the unit file accordingly.

Signed-off-by: Orion Poplawski <orion@nwra.com>
---
 systemd/nfs-blkmap.service | 2 +-
 systemd/rpc-statd.service  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/systemd/nfs-blkmap.service b/systemd/nfs-blkmap.service
index 2bbcee6..6aa45ba 100644
--- a/systemd/nfs-blkmap.service
+++ b/systemd/nfs-blkmap.service
@@ -9,7 +9,7 @@ PartOf=nfs-utils.service

 [Service]
 Type=forking
-PIDFile=/var/run/blkmapd.pid
+PIDFile=/run/blkmapd.pid
 ExecStart=/usr/sbin/blkmapd

 [Install]
diff --git a/systemd/rpc-statd.service b/systemd/rpc-statd.service
index 3e92cf7..095629f 100644
--- a/systemd/rpc-statd.service
+++ b/systemd/rpc-statd.service
@@ -13,5 +13,5 @@ IgnoreOnIsolate=yes
 [Service]
 Environment=RPC_STATD_NO_NOTIFY=1
 Type=forking
-PIDFile=/var/run/rpc.statd.pid
+PIDFile=/run/rpc.statd.pid
 ExecStart=/usr/sbin/rpc.statd
--
1.8.3.1

-- 
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@nwra.com
Boulder, CO 80301                 https://www.nwra.com/


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3799 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-10 15:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-08 14:58 [PATCH] nfs-utils: Change /var/run -> /run in systemd service files Orion Poplawski
2019-05-08 15:54 ` Steve Dickson
2019-05-08 16:02   ` Orion Poplawski
2019-05-09 17:25     ` Steve Dickson
2019-05-10 15:07       ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).