[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Preventing init script start during package install



On Sun, May 23, 2010 at 10:03:51PM +0300, Zaar Hai wrote:
> On Sun, May 23, 2010 at 6:59 PM, Marc Haber
> <mh+debian-mentors@zugschlus.de> wrote:
> > On Sun, May 23, 2010 at 06:53:04PM +0300, Zaar Hai wrote:
> >> I have a package that contain init script. When I install it, dpkg
> >> always brings the service up in the end (I'm using Debian Lenny). How
> >> can I prevent him to do so?
> >
> > If you're the package maintainer, adapt your postinst not to start the
> > service. If you're a user, you should have asked the question on
> Yes, I'm the maintainer. The problem is that I do not do anything in
> postinst script to start the service. It looks like dpkg just adds
> this behaviour automagically. Can you provide any hint?

If you have dh_installinit, use --noscripts and have a good reason
for not starting the service automatically.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190


Reply to: