Gentoo Archives: gentoo-commits

From: "Andrej Kacian (ticho)" <ticho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-antivirus/clamav/files: clamd.rc clamd.conf
Date: Fri, 29 Feb 2008 23:46:49
Message-Id: E1JVEwB-0003cn-GZ@stork.gentoo.org
1 ticho 08/02/29 23:46:47
2
3 Modified: clamd.rc clamd.conf
4 Log:
5 Add support for setting process niceness in conf.d file. Suggestion by Jens Weibler <gentoo-bugzilla at jensthebrain de>, bug #211397.
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.16 app-antivirus/clamav/files/clamd.rc
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/files/clamd.rc?rev=1.16&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/files/clamd.rc?rev=1.16&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/files/clamd.rc?r1=1.15&r2=1.16
14
15 Index: clamd.rc
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v
18 retrieving revision 1.15
19 retrieving revision 1.16
20 diff -u -r1.15 -r1.16
21 --- clamd.rc 13 Apr 2007 20:56:34 -0000 1.15
22 +++ clamd.rc 29 Feb 2008 23:46:46 -0000 1.16
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 # Copyright 1999-2005 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v 1.15 2007/04/13 20:56:34 ticho Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v 1.16 2008/02/29 23:46:46 ticho Exp $
29
30 opts="logfix"
31
32 @@ -21,14 +21,15 @@
33 fi
34 ebegin "Starting clamd"
35 start-stop-daemon --start --quiet \
36 + --nicelevel ${CLAMD_NICELEVEL:-0} \
37 --exec /usr/sbin/clamd
38 eend $? "Failed to start clamd"
39 fi
40
41 if [ "${START_FRESHCLAM}" = "yes" ]; then
42 ebegin "Starting freshclam"
43 -
44 start-stop-daemon --start --quiet \
45 + --nicelevel ${FRESHCLAM_NICELEVEL:-0} \
46 --exec /usr/bin/freshclam -- -d
47 retcode=$?
48 if [ ${retcode} = 1 ]; then
49 @@ -86,6 +87,7 @@
50
51 ebegin "Starting clamav-milter"
52 start-stop-daemon --start --quiet \
53 + --nicelevel ${MILTER_NICELEVEL:-0} \
54 --exec /usr/sbin/clamav-milter -- ${MILTER_OPTS} ${MILTER_SOCKET}
55 eend $? "Failed to start clamav-milter"
56 fi
57
58
59
60 1.3 app-antivirus/clamav/files/clamd.conf
61
62 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/files/clamd.conf?rev=1.3&view=markup
63 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/files/clamd.conf?rev=1.3&content-type=text/plain
64 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/files/clamd.conf?r1=1.2&r2=1.3
65
66 Index: clamd.conf
67 ===================================================================
68 RCS file: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.conf,v
69 retrieving revision 1.2
70 retrieving revision 1.3
71 diff -u -r1.2 -r1.3
72 --- clamd.conf 14 May 2005 21:31:33 -0000 1.2
73 +++ clamd.conf 29 Feb 2008 23:46:46 -0000 1.3
74 @@ -5,3 +5,5 @@
75
76 START_CLAMD=yes
77 START_FRESHCLAM=yes
78 +CLAMD_NICELEVEL=3
79 +FRESHCLAM_NICELEVEL=19
80
81
82
83 --
84 gentoo-commits@l.g.o mailing list