Re: Daemon/Service Management
At Tue, 6 Nov 2001 10:07:02 +1100,
Craig Sanders wrote:
> On Mon, Nov 05, 2001 at 11:41:34PM +0100, Erich Schubert wrote:
> > I also do like the way SuSE and Redhat display the succes of their init
> > scripts by displaying colored "done" or "failed" in a separate column.
> i think you'll find that a lot of people DON'T like that because it
> throws away valuable error/diagnostic messages reported by the daemon
> itself in order to get a nicely formatted pretty green "done" or red
> "failed". i.e. it's a triumph of image over substance.
Well, I know it is really troublesome job to change all of
/etc/init.d/* files. But it's not so bad idea that all init files
return meaningful exit status code (If it comes true, making wrapper
like RedHat will be easy).
I'm trying hack syslinux from few day ago, because:
1. I want to select boot or skip each daemon at bootup time.
2. Runlevel system doesn't provide me dynamic setting.
3. I want to interrupt init.d script process (for buggy daemon deadlock).
BTW, I want to select modprobe or skip each module dynamically (Some
module causes hangup). It is modutils matter.