logrotate in p0f

Jakub Bogusz qboosh at pld-linux.org
Sun Feb 20 13:33:21 CET 2005


On Sat, Feb 12, 2005 at 04:36:27PM +0100, Tomasz Pala wrote:
> 1.33 Wed Sep 22 15:31:09 2004 by kolodko
>  - added logrotate
> 
> This file is broken. I've been trying to investigate why p0f's running
> on one of my systems despite disabling it in rc.d. Here comes
> conclusion: you cannot use 'service x restart' in logrotate file.

Either reload should be used or (in daemons not supporting reload)
status must be checked.

We could also introduce RH-like service condrestart option to ease such
tasks and simplify %post scripts.


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




More information about the pld-devel-en mailing list