Bug#346483: privoxy logrotate script restarts daemon even when not currently running

2006-01-08 Thread Roland Rosenfeld
Hi Stefan! On Sun, 08 Jan 2006, Stefan Hajnoczi wrote: > The logrotate script restarts privoxy via invoke-rc.d before > checking that it is currently running. Isn't this the idea behind invoke-rc.d? invoke-rc.d should check, whether privoxy should run (according to the rcX.d links) and if this

Bug#346483: privoxy logrotate script restarts daemon even when not currently running

2006-01-08 Thread Stefan Hajnoczi
Package: privoxy Version: 3.0.3-5 The logrotate script restarts privoxy via invoke-rc.d before checking that it is currently running. The check for a running daemon is performed for direct init-script invocation, but not when using invoke-rc.d. The following patch checks for a running daemon bef