/etc/init/statd.conf is in nfs-common 1:1.2.8-9ubuntu12.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | # statd - NSM status monitor
description "NSM status monitor"
author "Steve Langasek <steve.langasek@canonical.com>"
# ON_BOOT is set to y in rpcbind's special rpcbind-boot.conf
# It will not be set when users run 'restart rpcbind' or 'start rpcbind'
# This is so that we don't start until we have local filesystems on
# bootup but we also restart whenever rpcbind is restarted. -Clint Byrum
#
# The case where we need to make sure statd is started on mounting
# TYPE=nfs is handled in the "statd-mounting" job.
#
start on (started rpcbind ON_BOOT=
or (virtual-filesystems and started rpcbind ON_BOOT=y))
stop on stopping rpcbind
expect fork
respawn
env DEFAULTFILE=/etc/default/nfs-common
pre-start script
if [ -f "$DEFAULTFILE" ]; then
. "$DEFAULTFILE"
fi
logger -t statd-pre-start "$UPSTART_EVENTS" || true
echo UPSTART_EVENTS = "$UPSTART_EVENTS"
exec sm-notify
end script
script
if [ -f "$DEFAULTFILE" ]; then
. "$DEFAULTFILE"
fi
if [ "x$NEED_STATD" != xno ]; then
exec rpc.statd -L $STATDOPTS
fi
end script
|