/init/statd.conf
http://github.com/brinkman83/bashrc · Config · 34 lines · 25 code · 9 blank · 0 comment · 0 complexity · c2b3a07d514aa22cd4cea1275a22f0ad MD5 · raw file
- # statd - NSM status monitor
- description "NSM status monitor"
- author "Steve Langasek <steve.langasek@canonical.com>"
- start on (started portmap or mounting TYPE=nfs)
- stop on stopping portmap
- expect fork
- respawn
- env DEFAULTFILE=/etc/default/nfs-common
- pre-start script
- if [ -f "$DEFAULTFILE" ]; then
- . "$DEFAULTFILE"
- fi
- [ "x$NEED_STATD" != xno ] || { stop; exit 0; }
- start portmap || true
- status portmap | grep -q start/running
- 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