]> git.pld-linux.org Git - packages/nfs-utils.git/blame - nfs-lock.service
- cosmetics
[packages/nfs-utils.git] / nfs-lock.service
CommitLineData
24570706
JR
1[Unit]
2Description=NFS file locking service.
3Requires=rpcbind.service network.target
4After=network.target named.service rpcbind.service nfs-blkmapd.service nfs-idmapd.service nfsd.service
5
6[Service]
7Type=forking
8StandardError=syslog+console
9EnvironmentFile=-/etc/sysconfig/nfslock
10ExecStartPre=/usr/share/nfs-utils/scripts/nfs-lock.preconfig
11ExecStart=/sbin/rpc.statd $STATDOPTIONS
12# Make sure lockd's ports are reset
13ExecStopPost=-/sbin/sysctl -w fs.nfs.nlm_tcpport=0 fs.nfs.nlm_udpport=0
14
15[Install]
16WantedBy=multi-user.target
This page took 0.024436 seconds and 4 git commands to generate.