Re: CDBS and multiple init scripts?
On Sat, Mar 20, 2004 at 12:03:50AM +0100, Andreas Metzler wrote:
> Chad Walstrom <chewie@wookimus.net> wrote:
> > On Fri, Mar 19, 2004 at 11:42:11AM +0100, 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? Thanks in advance!
>
> > Use debhelper scripts:
>
> > include /usr/share/cdbs/1/rules/debhelper.mk
>
> > And make sure you have the following files in your debian/ directory:
>
> > PACKAGE1.init
> > PACKAGE1.default
>
> > PACKAGE2.init
> > PACKAGE2.default
>
> This will add one init skript to each of the different packages, W.
> Borgert was asking for a way to add three init skripts to *one* binary
> package.
If the daemons are interdependent, they should always be started at once
from a single init script. If they are not, then they should most likely be
in separate packages.
--
- mdz
Reply to: