diff options
author | NeilBrown <neilb@suse.de> | 2014-03-24 07:43:01 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-03-24 16:30:04 -0400 |
commit | 83a492141fe80f38011bef0d6c7af9867408cb33 (patch) | |
tree | 7ec24973f469d80098b3c1a2d5eb37618e04d344 /systemd/nfs-idmapd.service | |
parent | a5051faf46711369fbf74175fb515f2aea2ec615 (diff) | |
download | nfs-utils-83a492141fe80f38011bef0d6c7af9867408cb33.tar.gz |
systemd units: create nfs-config.service as single location to process config.
Instead of processing the config information into command lines every
time it might be needed, do it once in a separate service that other
services can Want.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'systemd/nfs-idmapd.service')
-rw-r--r-- | systemd/nfs-idmapd.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/systemd/nfs-idmapd.service b/systemd/nfs-idmapd.service index 7d0dd84..11895e2 100644 --- a/systemd/nfs-idmapd.service +++ b/systemd/nfs-idmapd.service @@ -3,9 +3,10 @@ Description=NFSv4 ID-name mapping service PartOf=nfs-utils.service +Wants=nfs-config.service +After=nfs-config.service + [Service] EnvironmentFile=-/run/sysconfig/nfs-utils -ExecStartPre=-/usr/lib/systemd/scritps/nfs-utils_env.sh - Type=forking ExecStart=/usr/sbin/rpc.idmapd $RPCIDMAPDARGS |