summaryrefslogtreecommitdiffstats
path: root/systemd/rpc-statd-notify.service
blob: aad4c0d29efe75f2d0652293ba869850e34384c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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