summaryrefslogtreecommitdiff
path: root/systemd/nfs-blkmap.service
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-19 11:37:52 -0400
committerSteve Dickson <steved@redhat.com>2015-03-19 11:44:16 -0400
commit8b7bc02a411019fce9ed069a2d18f556c1009150 (patch)
tree78553f3e0b9cbf13b761e9cd03983e474ae304b9 /systemd/nfs-blkmap.service
parent997148c3d87d4a59a0e542c4fbe77fefc6489e56 (diff)
downloadnfs-utils-8b7bc02a411019fce9ed069a2d18f556c1009150.tar.gz
units: nuke nfs-blkmap.target
It seems that the purpose of nfs-blkmap.target was to enable and disable nfs-blkmap.service. This can be done directly by adding an [Install] section in nfs-blkmap.service. The downside of the previous arrangement, apart from the unnecessary complexity, was a warning during boot: [ INFO ] PNFS blkmaping enablement. is not active. [DEPEND] Dependency failed for pNFS block layout mapping daemon. https://bugzilla.redhat.com/show_bug.cgi?id=1088665 Signed-off-by: Zbigniew J?drzejewski-Szmek <zbyszek@in.waw.pl> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'systemd/nfs-blkmap.service')
-rw-r--r--systemd/nfs-blkmap.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/systemd/nfs-blkmap.service b/systemd/nfs-blkmap.service
index f470e3d..5b5a06d 100644
--- a/systemd/nfs-blkmap.service
+++ b/systemd/nfs-blkmap.service
@@ -5,12 +5,12 @@ Conflicts=umount.target
After=var-lib-nfs-rpc_pipefs.mount
Requires=var-lib-nfs-rpc_pipefs.mount
-Requisite=nfs-blkmap.target
-After=nfs-blkmap.target
-
PartOf=nfs-utils.service
[Service]
Type=forking
PIDFile=/var/run/blkmapd.pid
ExecStart=/usr/sbin/blkmapd $BLKMAPDARGS
+
+[Install]
+WantedBy=nfs-client.target