Bug#355760: ntop: Improvement for the init.d script

2006-03-09 Thread Ola Lundqvist
Hi On Thu, Mar 09, 2006 at 09:30:56AM +0100, Javier Fernández-Sanguino Peña wrote: > 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

Bug#355760: ntop: Improvement for the init.d script

2006-03-09 Thread Javier Fernández-Sanguino Peña
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

Bug#355760: ntop: Improvement for the init.d script

2006-03-08 Thread Ola Lundqvist
Hi On Thu, Mar 09, 2006 at 01:07:12AM +0100, Javier Fernández-Sanguino Peña wrote: > On Wed, Mar 08, 2006 at 10:25:11PM +0100, Ola Lundqvist wrote: > > Hi > > Hi. > > > > - don't reload if the daemon is down > > > > Do it start instead then? > > No, reload should just reload the daemon. If it'

Bug#355760: ntop: Improvement for the init.d script

2006-03-08 Thread Javier Fernández-Sanguino Peña
On Wed, Mar 08, 2006 at 10:25:11PM +0100, Ola Lundqvist wrote: > Hi Hi. > > - 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. > >

Bug#355760: ntop: Improvement for the init.d script

2006-03-08 Thread Ola Lundqvist
Hi On Tue, Mar 07, 2006 at 06:28:21PM +0100, Javier Fernández-Sanguino Peña wrote: > > Package: ntop > Version: 3:3.2-1 > Priority: wishlist > Tags: patch > > I find the init.d script provided for ntop somewhat lacking proper checks, so > I have included some sanity checks: > > - check if the i

Bug#355760: ntop: Improvement for the init.d script

2006-03-07 Thread Javier Fernández-Sanguino Peña
Package: ntop Version: 3:3.2-1 Priority: wishlist Tags: patch I find the init.d script provided for ntop somewhat lacking proper checks, so I have included some sanity checks: - check if the interfaces defined are UP, if they are not, abort with an error. Rationale: ntop will fail to start if