~ubuntu-branches/ubuntu/vivid/rpcbind/vivid

« back to all changes in this revision

Viewing changes to debian/rpcbind.upstart

  • Committer: Steve Langasek
  • Date: 2013-09-09 02:38:42 UTC
  • Revision ID: steve.langasek@canonical.com-20130909023842-ei216w1h882qddd3
Don't pass -w to rpcbind on boot up, since the files won't be there to
be read.  LP: #835833.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
pre-start exec mkdir -p /run/rpcbind
25
25
 
26
26
script
27
 
        OPTIONS="-w"
 
27
        OPTIONS=
 
28
        if [ -z "$ON_BOOT" ]; then
 
29
                OPTIONS=-w
 
30
        fi
28
31
        if [ -f /etc/default/rpcbind ]; then
29
32
                . /etc/default/rpcbind
30
33
        elif [ -f /etc/rpcbind.conf ]; then