diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 06:03:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 06:03:02 +0000 |
commit | 4897093455a2bf08f3db3a1132cc2f6f5484d77c (patch) | |
tree | 9e6373544263f003139431fb4b08f9766e1ed530 /systemd/rpc-statd-notify.service | |
parent | Initial commit. (diff) | |
download | nfs-utils-4897093455a2bf08f3db3a1132cc2f6f5484d77c.tar.xz nfs-utils-4897093455a2bf08f3db3a1132cc2f6f5484d77c.zip |
Adding upstream version 1:2.6.4.upstream/1%2.6.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'systemd/rpc-statd-notify.service')
-rw-r--r-- | systemd/rpc-statd-notify.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/systemd/rpc-statd-notify.service b/systemd/rpc-statd-notify.service new file mode 100644 index 0000000..aad4c0d --- /dev/null +++ b/systemd/rpc-statd-notify.service @@ -0,0 +1,16 @@ +[Unit] +Description=Notify NFS peers of a restart +DefaultDependencies=no +Wants=network-online.target +After=local-fs.target network-online.target nss-lookup.target + +# if we run an nfs server, it needs to be running before we +# tell clients that it has restarted. +After=nfs-server.service + +PartOf=nfs-utils.service + +[Service] +Type=forking +ExecStart=-/usr/sbin/sm-notify +RemainAfterExit=yes |