Blame SOURCES/nfs-lock.service

d80804
[Unit]
d80804
Description=NFS file locking service.
d80804
Requires=rpcbind.service network.target
d80804
After=network.target named.service rpcbind.service
d80804
Before=remote-fs-pre.target
d80804
d80804
[Service]
d80804
Type=forking
d80804
StandardError=syslog+console
d80804
EnvironmentFile=-/etc/sysconfig/nfs
d80804
ExecStartPre=/usr/libexec/nfs-utils/scripts/nfs-lock.preconfig
d80804
ExecStart=/sbin/rpc.statd $STATDARG
d80804
# Make sure lockd's ports are reset
d80804
ExecStopPost=-/sbin/sysctl -w fs.nfs.nlm_tcpport=0 fs.nfs.nlm_udpport=0
d80804
d80804
[Install]
d80804
WantedBy=nfs.target