[debhelper-devel] Bug#709384: dh_installinit: Please add an option to no enable the service at installation

Laurent Bigonville bigon at debian.org
Mon Jan 27 00:32:35 UTC 2014

Le Sat, 25 Jan 2014 15:40:18 -0400,
Joey Hess <joeyh at debian.org> a écrit :

> Laurent Bigonville wrote:
> > Now that the usage of /etc/default/* file to prevent a service to
> > start is discouraged, it might be interesting to add an option that
> > allow the maintainer to not automatically enable the service at
> > installation.
> Isn't that what dh_installinit --no-start does?

dh_installinit --no-start prevents the service to be started at the
installation of the package. But the service is still enabled, this
means that the service will be started at the next reboot of the

What I was proposing here is to prevent the call to update-rc.d.

More information about the debhelper-devel mailing list