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

Re: [Build-common-hackers] CDBS and multiple init scripts?



On Fri, Mar 19, 2004 at 11:42:11AM +0100, I 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!

The solution is easy.  I have three init scripts
debian/daemon1.init, debian/daemon2.init, and
debian/daemon3.init.  In my debian/rules I added:

binary-install/mypackage::
	dh_installinit --name=daemon1
	dh_installinit --name=daemon2
	dh_installinit --name=daemon3

Cheers,
-- 
W. Borgert <debacle@debian.org>, http://people.debian.org/~debacle/



Reply to: