]> git.pld-linux.org Git - packages/p0f.git/commitdiff
- (untested) don't (re)start p0f if it's not running
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Feb 2005 12:23:51 +0000 (12:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    p0f.logrotate -> 1.2

p0f.logrotate

index 253304071d1f5c82ccbfc6931fdbf296ee6b8f88..64d14734fe19f0329f4bab8fba1659c4adf7ed1a 100644 (file)
@@ -1,6 +1,6 @@
 /var/log/p0f {
        create 600 root root
        postrotate
-               /etc/rc.d/init.d/p0f restart > /dev/null
+               [ ! -f /var/lock/subsys/p0f ] || /etc/rc.d/init.d/p0f restart > /dev/null
        endscript
 }
This page took 0.060478 seconds and 4 git commands to generate.