67ebcf9f55
- Made nfsnobody's uid/gid to always be a 16-bit value of -2 Signed-off-by: Steve Dickson <steved@redhat.com>
15 lines
383 B
Desktop File
15 lines
383 B
Desktop File
[Unit]
|
|
Description=NFS file locking service.
|
|
After=network.target rpcbind.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
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
|