On Thu, Mar 09, 2006 at 07:18:43AM +0100, Ola Lundqvist wrote: > > > > - don't reload if the daemon is down > > > > > > Do it start instead then? > > > > No, reload should just reload the daemon. If it's down it should do nothing > > (i.e. it does not make sense to 'reload' a daemon which is not active. > > Personally I disagree as you do a reload when you think it is up, and then you > most probably want it to start if it is not.
You can disagree if you want to, but that's what the LSB standard says [1] reload cause the configuration of the service to be reloaded without actually stopping and restarting the service Actually, IMHO, since ntop has no way to reload its configuration files the option should be dropped all together from the init.d file. We do want to be LSB compliant, don't we? Regards Javier [1] http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
signature.asc
Description: Digital signature