X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=junkbuster.logrotate;h=0b88ac7a6d05b6ca046eab9b8fbccd1fe34597d6;hb=f0826b74e18fc04dd820dec381b50c33475400b3;hp=f79d2f993028539703577009c4ba43c7964a2bae;hpb=f1bf394c77bc1f9c62a9124091a01034db09ecfa;p=privoxy.git diff --git a/junkbuster.logrotate b/junkbuster.logrotate index f79d2f99..0b88ac7a 100644 --- a/junkbuster.logrotate +++ b/junkbuster.logrotate @@ -3,7 +3,7 @@ # # ******************************************************************** # -# File : $Source: /cvsroot/ijbswa/current/junkbuster.monthly,v $ +# File : $Source: /cvsroot/ijbswa/current/junkbuster.logrotate,v $ # # Purpose : Rotates all potential Junkbuster logfiles # @@ -34,7 +34,26 @@ # Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # Revisions : -# $Log: junkbuster.monthly,v $ +# $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 +# +# Revision 1.3 2001/06/04 18:31:58 swa +# files are now prefixed with either `confdir' or `logdir'. +# `make redhat-dist' replaces both entries confdir and logdir +# with redhat values +# +# Revision 1.2 2001/05/24 07:52:24 swa +# added header. removed ^M. +# # Revision 1.3 2001/05/24 07:41:33 swa # added header # @@ -42,13 +61,19 @@ # # ********************************************************************/ -/var/log/junkbuster/junkbuster { +/var/log/junkbuster/logfile { compress - weekly + size 1M + postrotate + /sbin/service junkbuster reload 2> /dev/null || true + endscript } - -#/var/log/junkbuster/jarfile { -# compress -# weekly -#} +/var/log/junkbuster/jarfile { + missingok + compress + size 1M + postrotate + /sbin/service junkbuster reload 2> /dev/null || true + endscript +}