Package: debhelper
Version: 9.20120909
X-Debbugs-CC: [email protected],
[email protected], [email protected]

# 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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to