]>
Commit | Line | Data |
---|---|---|
24570706 | 1 | [Unit] |
245b0630 | 2 | Description=NFS file locking service |
24570706 | 3 | Requires=rpcbind.service network.target |
7804a996 | 4 | After=network.target named.service rpcbind.service blkmapd.service idmapd.service nfsd.service |
24570706 JR |
5 | |
6 | [Service] | |
7 | Type=forking | |
8 | StandardError=syslog+console | |
9 | EnvironmentFile=-/etc/sysconfig/nfslock | |
7804a996 | 10 | ExecStartPre=/usr/share/nfs-utils/nfslock.preconfig |
24570706 JR |
11 | ExecStart=/sbin/rpc.statd $STATDOPTIONS |
12 | # Make sure lockd's ports are reset | |
13 | ExecStopPost=-/sbin/sysctl -w fs.nfs.nlm_tcpport=0 fs.nfs.nlm_udpport=0 | |
14 | ||
15 | [Install] | |
16 | WantedBy=multi-user.target |