nfs-utils/nfs-lock.service
Steve Dickson 4240ebbcf5 Ensured nfs-idmap service is started after the DNS is up (bz 748275)
Signed-off-by: Steve Dickson <steved@redhat.com>
2011-11-14 17:16:42 -05:00

16 lines
426 B
Desktop File

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