6d7ec8222256396159868b195ad1bb06bd7f28d1
[privoxy.git] / junkbuster.logrotate
1 #
2 # Logrotate file for Junkbuster RPM
3 #
4 # ********************************************************************
5
6 #  File        :  $Source: /cvsroot/ijbswa/current/junkbuster.logrotate,v $
7
8 #  Purpose     :  Rotates all potential Junkbuster logfiles
9 #                 
10
11 #  Copyright   :  Written by and Copyright (C) 2001 the SourceForge
12 #                 IJBSWA team.  http://ijbswa.sourceforge.net
13
14 #                 Based on the Internet Junkbuster originally written
15 #                 by and Copyright (C) 1997 Anonymous Coders and 
16 #                 Junkbusters Corporation.  http://www.junkbusters.com
17
18 #                 This program is free software; you can redistribute it 
19 #                 and/or modify it under the terms of the GNU General
20 #                 Public License as published by the Free Software
21 #                 Foundation; either version 2 of the License, or (at
22 #                 your option) any later version.
23
24 #                 This program is distributed in the hope that it will
25 #                 be useful, but WITHOUT ANY WARRANTY; without even the
26 #                 implied warranty of MERCHANTABILITY or FITNESS FOR A
27 #                 PARTICULAR PURPOSE.  See the GNU General Public
28 #                 License for more details.
29
30 #                 The GNU General Public License should be included with
31 #                 this file.  If not, you can view it at
32 #                 http://www.gnu.org/copyleft/gpl.html
33 #                 or write to the Free Software Foundation, Inc., 59
34 #                 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
35
36 #  Revisions   :
37 #     $Log: junkbuster.logrotate,v $
38 #     Revision 1.5  2001/11/05 21:31:51  steudten
39 #     Change switch mode from weekly to size 1M
40 #
41 #     Revision 1.4  2001/06/28 13:30:22  sarantis
42 #     add missingok for the jarfile entry
43 #
44 #     Revision 1.3  2001/06/04 18:31:58  swa
45 #     files are now prefixed with either `confdir' or `logdir'.
46 #     `make redhat-dist' replaces both entries confdir and logdir
47 #     with redhat values
48 #
49 #     Revision 1.2  2001/05/24 07:52:24  swa
50 #     added header. removed ^M.
51 #
52 #     Revision 1.3  2001/05/24 07:41:33  swa
53 #     added header
54 #
55
56
57 # ********************************************************************/
58
59 /var/log/junkbuster/logfile {
60    compress
61    size 1M
62    postrotate
63         /sbin/service junkbuster restart 2> /dev/null || true
64    endscript
65 }
66
67 /var/log/junkbuster/jarfile {
68    missingok
69    compress
70    size 1M
71    postrotate
72         /sbin/service junkbuster restart 2> /dev/null || true
73    endscript
74 }