[Unit] Description=Notify NFS peers of a restart DefaultDependencies=no Wants=network-online.target After=local-fs.target network-online.target nss-lookup.target # Do not start up in HA environments ConditionPathExists=!/var/lib/nfs/statd/sm.ha # 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 Wants=nfs-config.service After=nfs-config.service [Service] EnvironmentFile=-/run/sysconfig/nfs-utils Type=forking ExecStart=-/usr/sbin/sm-notify $SMNOTIFYARGS