LSB-ish init script, RFC

Colin Walters walters at redhat.com
Fri Feb 15 20:47:48 UTC 2008


On Fri, 2008-02-15 at 18:32 +0100, Nicolas Mailhot wrote:

> It's not. Many daemons can be multi-instanciated (just from the top of
> my head clamav & tomcat, would want this too)

Nothing wrong with that - but if you want to do this, the right thing to
do in the new init system should be to create a new toplevel service for
each instance.

/etc/init.d/tomcat-testing:
exec /usr/bin/tomcat /etc/tomcat/testing.conf

/etc/init.d/tomcat-production:
exec /usr/bin/tomcat /etc/tomcat/production.conf







More information about the fedora-devel-list mailing list