-
Committer:
Bazaar Package Importer
-
Author(s):
Steve Langasek
-
Date:
2009-09-30 13:57:14 UTC
-
Revision ID:
james.westby@ubuntu.com-20090930135714-1lqsk3e6t368ppo8
Tags: 7.3.15ubuntu3
* dh_installinit:
- Create the upstart-job symlink even when --upstart-only is called,
since this simplifies implementation of...
- --restart-after-upgrade: we can't use the upstart 'restart' command here
because this will give wrong behavior if we're adding a new job to an
existing package; instead just use the standard invoke-rc.d snippet,
which (combined with the above) will at least give us compatibility
with policy-rc.d for preventing stopped jobs from starting on upgrade.
(N.B.: prerm scripts could also safely reuse the invoke-rc.d handling
instead of calling 'stop' directly, but leaving this alone for now
because the current behavior is only minorly buggy.)
- Drop unnecessary UPSTART_ONLY check; --upstart-only should never be set
without having an upstart job so this is redundant.
- postinst-reboot-required is never the right snippet to include here.
- Merge in the final changes to the upstartification as accepted into
debhelper upstream, dropping the --onlyscripts-upstart option from
the documentation but mapping it to --onlyscripts for compatibility in
karmic.
* autoscript/postinst-upstart: typo fix.