On 14/06/13 15:09, Michael Biebl wrote:> +if init_is_upstart; then > + case "$1" in > + stop) > + exit 0 > + ;; > + *) > + exit 1 > + ;; > + esac > +fi > + > > > I do not like this behaviour at all. > Not only will this break 3rd party tools (monitoring, sysv editors) > but I think exiting is just wrong. What the reasoning to special case > stop here?
This is Policy-mandated for any init script that has a corresponding Upstart job (9.11.1 "Event-based boot with upstart"). http://bugs.debian.org/591791 S -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org