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

Re: CDBS and multiple init scripts?



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

See also: dh_installinit(8)

-- 
Chad Walstrom <chewie@wookimus.net>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */



Reply to: