Re: Preventing init script start during package install
On Mon, May 24, 2010 at 11:26, Marc Haber
<mh+debian-mentors@zugschlus.de> wrote:
> Hi,
>
> On Sun, May 23, 2010 at 10:54:35PM +0300, Zaar Hai wrote:
>> On Sun, May 23, 2010 at 10:12 PM, Marc Haber
>> <mh+debian-mentors@zugschlus.de> wrote:
>> > If you have dh_installinit, use --noscripts and have a good reason
>> > for not starting the service automatically.
>> Thanks! I'll try that out (looks like I'll need to some CDBS diving :).
>
> I guess that CDBS allows you to provide additional parameters for the
> dh_installinit call. Not having used advanced CDBS in a while, I
> cannot give more useful advice.
It does, you can try adding something like the following to your
debian/rules file:
--------------------------8<--------------------------8<--------------------------
DEB_DH_INSTALLINIT_ARGS := --no-start
--------------------------8<--------------------------8<--------------------------
Also, take a look at the man of dh_installinit(1) to see other available flags.
Hope this helps.
Cheers,
Ignace M
Reply to: