X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=junkbuster.logrotate;h=0b88ac7a6d05b6ca046eab9b8fbccd1fe34597d6;hp=4ac4ca640dbf01d72ce47908a939b616cadc1a3b;hb=8cf4267e59676eef748fe267e74baf3e05e3c9f1;hpb=7f5321790ac4152e8eb00f04e034e3460825a319 diff --git a/junkbuster.logrotate b/junkbuster.logrotate index 4ac4ca64..0b88ac7a 100644 --- a/junkbuster.logrotate +++ b/junkbuster.logrotate @@ -35,6 +35,14 @@ # # Revisions : # $Log: junkbuster.logrotate,v $ +# Revision 1.6 2001/12/13 23:19:43 steudten +# Add 'restart' of junkbuster service after rotate logfiles. +# Better we could use the well known 'kill -HUP', but the handler +# isn't there at this time. +# +# Revision 1.5 2001/11/05 21:31:51 steudten +# Change switch mode from weekly to size 1M +# # Revision 1.4 2001/06/28 13:30:22 sarantis # add missingok for the jarfile entry # @@ -56,10 +64,16 @@ /var/log/junkbuster/logfile { compress size 1M + postrotate + /sbin/service junkbuster reload 2> /dev/null || true + endscript } /var/log/junkbuster/jarfile { - missingok - compress - size 1M + missingok + compress + size 1M + postrotate + /sbin/service junkbuster reload 2> /dev/null || true + endscript }