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

« back to all changes in this revision

Viewing changes to debian/init.d

  • 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:
78
78
 
79
79
case "$1" in
80
80
    start)
 
81
        if init_is_upstart; then
 
82
            exit 1
 
83
        fi
81
84
        start $OPTIONS
82
85
        ;;
83
86
    stop)
 
87
        if init_is_upstart; then
 
88
            exit 0
 
89
        fi
84
90
        stop
85
91
        ;;
86
92
    restart|force-reload)
 
93
        if init_is_upstart; then
 
94
            exit 1
 
95
        fi
87
96
        stop
88
97
        start $OPTIONS
89
98
        ;;