]>
Commit | Line | Data |
---|---|---|
24570706 | 1 | [Unit] |
245b0630 | 2 | Description=NFS file locking service |
24570706 JR |
3 | Requires=rpcbind.service network.target |
4 | After=network.target named.service rpcbind.service nfs-blkmapd.service nfs-idmapd.service nfsd.service | |
5 | ||
6 | [Service] | |
7 | Type=forking | |
8 | StandardError=syslog+console | |
9 | EnvironmentFile=-/etc/sysconfig/nfslock | |
a3a2f6ff | 10 | ExecStartPre=/usr/share/nfs-utils/nfs-lock.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 |