[Build-common-hackers] CDBS and multiple init scripts?
W. Borgert
debacle@debian.org
Fri, 9 Apr 2004 13:22:43 +0200
[My first reply seems to be lost, so again:]
Quoting Colin Walters <walters@verbum.org>:
> On Fri, 2004-03-19 at 05:42, W. Borgert wrote:
> > I'm working on a package (single binary package) containing multiple
> > daemons. I like to have one /etc/init.d/ script per daemon. (How)
> > can I realise this with CDBS?
>
> Hm. It doesn't seem that dh_installinit supports installing multiple
> init scripts. You could anyways write the code to do it in the
> install/foo rule or something.
This works for me:
binary-install/mypackage::
dh_installinit --name=xxx -- defaults 90 10 && \
dh_installinit --name=yyy -- defaults 95 5
Thanks again, WB