summaryrefslogtreecommitdiff
path: root/systemd/rpc-statd.service
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-03-24 07:47:08 -0400
committerSteve Dickson <steved@redhat.com>2014-03-24 16:30:04 -0400
commit82ab4b4e80199d606e5c40f373aaf384d3dfc081 (patch)
treefcfbe258fdd6209b667e9c3441da1ca3d9746b68 /systemd/rpc-statd.service
parentddeb343508886da1dcec810052f6fd69bada7164 (diff)
downloadnfs-utils-82ab4b4e80199d606e5c40f373aaf384d3dfc081.tar.gz
systemd: add PIDFile directives where appropriate.
Only two of our daemons write out pid files. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'systemd/rpc-statd.service')
-rw-r--r--systemd/rpc-statd.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/rpc-statd.service b/systemd/rpc-statd.service
index c5795fd..14604d7 100644
--- a/systemd/rpc-statd.service
+++ b/systemd/rpc-statd.service
@@ -13,4 +13,5 @@ After=nfs-config.service
[Service]
EnvironmentFile=-/run/sysconfig/nfs-utils
Type=forking
+PIDFile=/var/run/rpc.statd.pid
ExecStart=/usr/sbin/rpc.statd --no-notify $STATDARGS