Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/preload/files: init.d-preload conf.d-preload
Date: Mon, 20 Oct 2008 18:58:13
Message-Id: E1KrzxD-0002yc-5k@stork.gentoo.org
1 darkside 08/10/20 18:58:11
2
3 Modified: init.d-preload conf.d-preload
4 Log:
5 Minor bump for sys-apps/preload to improve init/conf scripts and remove unused etc file
6 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-git6 x86_64)
7
8 Revision Changes Path
9 1.2 sys-apps/preload/files/init.d-preload
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/files/init.d-preload?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/files/init.d-preload?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/files/init.d-preload?r1=1.1&r2=1.2
14
15 Index: init.d-preload
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-apps/preload/files/init.d-preload,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- init.d-preload 18 Oct 2008 02:20:48 -0000 1.1
22 +++ init.d-preload 20 Oct 2008 18:58:11 -0000 1.2
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 # Copyright 1999-2008 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/init.d-preload,v 1.1 2008/10/18 02:20:48 darkside Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/init.d-preload,v 1.2 2008/10/20 18:58:11 darkside Exp $
29
30 depend() {
31 after xdm
32 @@ -16,7 +16,8 @@
33 start() {
34 ebegin "Starting preload"
35 start-stop-daemon --start --quiet --exec /usr/sbin/preload -- \
36 - --logfile ${PRELOAD_LOGFILE} -V ${PRELOAD_VERBOSITY} -n ${PRELOAD_NICE}
37 + -l ${PRELOAD_LOGFILE} -V ${PRELOAD_VERBOSITY} -n ${PRELOAD_NICE} \
38 + -s ${PRELOAD_STATEFILE}
39 eend $?
40 }
41
42 @@ -25,6 +26,3 @@
43 start-stop-daemon --stop --quiet --exec /usr/sbin/preload
44 eend $?
45 }
46 -
47 -
48 -
49
50
51
52 1.2 sys-apps/preload/files/conf.d-preload
53
54 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/files/conf.d-preload?rev=1.2&view=markup
55 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/files/conf.d-preload?rev=1.2&content-type=text/plain
56 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/files/conf.d-preload?r1=1.1&r2=1.2
57
58 Index: conf.d-preload
59 ===================================================================
60 RCS file: /var/cvsroot/gentoo-x86/sys-apps/preload/files/conf.d-preload,v
61 retrieving revision 1.1
62 retrieving revision 1.2
63 diff -u -r1.1 -r1.2
64 --- conf.d-preload 18 Oct 2008 02:20:48 -0000 1.1
65 +++ conf.d-preload 20 Oct 2008 18:58:11 -0000 1.2
66 @@ -1,12 +1,22 @@
67 # Copyright 1999-2008 Gentoo Foundation
68 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/conf.d-preload,v 1.1 2008/10/18 02:20:48 darkside Exp $
69 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/conf.d-preload,v 1.2 2008/10/20 18:58:11 darkside Exp $
70 # preload configuration file
71
72 -## verbosity. 0-9, Default is 4.
73 +# verbosity. 0-9, Default is 4.
74 PRELOAD_VERBOSITY="4"
75
76 -## set this for niceness. Default is 15
77 +# set this for niceness. Default is 15
78 PRELOAD_NICE="15"
79
80 -## log file
81 -PRELOAD_LOGFILE="/var/log/preload.log"
82 +# log file (default is /var/log/preload.log )
83 +# Empty means default location.
84 +#PRELOAD_LOGFILE="/var/log/preload.log"
85 +
86 +# prelaod state file (default is /var/lib/preload/preload.state )
87 +# Empty means no state is saved.
88 +#PRELOAD_STATEFILE="\"\""
89 +PRELOAD_STATEFILE="/var/lib/preload/preload.state"
90 +
91 +## Not supported in Gentoo yet. Patches to init script welcome. ##
92 +# Option to call ionice with. Leave empty to skip ionice.
93 +#IONICE_OPTS="-c3"