Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: jonroberts on January 29, 2004, 05:33:59 PM

Title: How do you use db files to enable/disable a new service
Post by: jonroberts on January 29, 2004, 05:33:59 PM
I have installed Lotus Domino server on my e-smith 5.6 (& posted a how-to) but would like to integrate it better within the e-smith structure.

I have an init.d script that will start Domino automatically & works with the usual start | stop | status etc. and I've created symlinks in the various rcx.d directories.  So it starts & stops as it should when the server starts & stops.

However I'd like to be able to disable it using /sbin/e-smith config setprop domino disable.

I've created the key using /sbin/e-smith set domino service status disabled and restarted.  I was kinda hoping that a key with the same name as the file in init.d would somehow kick-in & work.  Ah well.

So what else do I need to do?  I've gone through the forums & re-read the documentation but couldn't see it.  So any ideas would be most welcome.
Title: Re: How do you use db files to enable/disable a new service
Post by: jonroberts on January 30, 2004, 03:44:53 PM
I've sorted this now, but just in case anyone else is looking for the solution, this is what I did.

creating the file called domino in init.d was correct, but the symlinks to start the service should have been to e-smith-service, NOT directly to the domino file.

So this is what I needed:

ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S89domino[/quote]