Package: debhelper
Version: 9.20120909
X-Debbugs-CC: danilo.gasd...@tu-clausthal.de,
michael.heider...@tu-clausthal.de, pk...@tu-clausthal.de

# prerm-init

    if [ -x "/etc/init.d/#SCRIPT#" ]; then
            invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER#
    fi

# postinst-init

    if [ -x "/etc/init.d/#SCRIPT#" ]; then
            update-rc.d #SCRIPT# #INITPARMS# >/dev/null
            invoke-rc.d #SCRIPT# start || #ERROR_HANDLER#
    fi

dh_installinit generates a prerm.debhelper and
a postinst.debhelper for upstart scripts.

However upstart scripts go to init rather than init.d.
So the maintainer scripts do not start and stop the
service during install/uninstall.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to