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

Re: Two-part initialization?



> Hm, how about having /etc/init.d/$package which supports the actions
> that are required by the sysvinit "API" and one additional target
> "pre-start". And then /etc/init.d/${package}-pre which invokes
> /etc/init.d/$package pre-start if invoked with "start", and does noop
> on all other actions?
> 
> I find that a nice idea. Any comments?

I can't see any problem with that.  That's probably the best solution
suggested so far.

Eric



Reply to: