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

« back to all changes in this revision

Viewing changes to debian/rpcbind.upstart

  • Committer: Steve Langasek
  • Date: 2013-08-10 23:50:36 UTC
  • Revision ID: steve.langasek@canonical.com-20130810235036-n2vhfzh3dpnglsgp
* Migrate /etc/init/portmap.conf to /etc/init/rpcbind.conf, so that it
  matches the init script name and makes us compatible with new debhelper
  upstart handling.
* Add versioned dependency on lsb-base, and make initscript
  upstart-aware.
* debian/rules: drop use of obsolete --upstart-only argument to
  dh_installinit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        fi
33
33
        exec rpcbind $OPTIONS
34
34
end script
 
35
 
 
36
# For compatibility with older upstart jobs in Ubuntu
 
37
post-start exec initctl emit --no-wait started portmap ON_BOOT=$ON_BOOT
 
38
pre-stop exec initctl emit --no-wait stopping portmap