Signed-off-by: Scott Mayhew <smayhew@xxxxxxxxxx> --- systemd/nfs-server.service | 2 ++ systemd/nfsdcld.service | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 systemd/nfsdcld.service diff --git a/systemd/nfs-server.service b/systemd/nfs-server.service index 136552b..24118d6 100644 --- a/systemd/nfs-server.service +++ b/systemd/nfs-server.service @@ -6,10 +6,12 @@ Requires= nfs-mountd.service Wants=rpcbind.socket network-online.target Wants=rpc-statd.service nfs-idmapd.service Wants=rpc-statd-notify.service +Wants=nfsdcld.service After= network-online.target local-fs.target After= proc-fs-nfsd.mount rpcbind.socket nfs-mountd.service After= nfs-idmapd.service rpc-statd.service +After= nfsdcld.service Before= rpc-statd-notify.service # GSS services dependencies and ordering diff --git a/systemd/nfsdcld.service b/systemd/nfsdcld.service new file mode 100644 index 0000000..a32d243 --- /dev/null +++ b/systemd/nfsdcld.service @@ -0,0 +1,10 @@ +[Unit] +Description=NFSv4 Client Tracking Daemon +DefaultDependencies=no +Conflicts=umount.target +Requires=rpc_pipefs.target proc-fs-nfsd.mount +After=rpc_pipefs.target proc-fs-nfsd.mount + +[Service] +Type=forking +ExecStart=/usr/sbin/nfsdcld -- 2.17.2