Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/bitten/files: bitten.confd bitten.initd
Date: Mon, 27 Aug 2012 11:01:52
Message-Id: 20120827110141.202E4208E6@flycatcher.gentoo.org
1 xarthisius 12/08/27 11:01:41
2
3 Added: bitten.confd bitten.initd
4 Log:
5 Initial import, ebuild based on work of Nikolaj Sjujskij <sterkrig@×××××××.com>. Fixes bug #189378 by Ole Trenner <ogardiner.23444071@×××××××××.com>
6
7 (Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 www-apps/bitten/files/bitten.confd
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/bitten/files/bitten.confd?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/bitten/files/bitten.confd?rev=1.1&content-type=text/plain
14
15 Index: bitten.confd
16 ===================================================================
17 # The commented variables in this file are the defaults that are used
18 # in the init-script. You don't need to uncomment them except to
19 # customize them to different values.
20
21 # Server running bitten
22 #BITTEN_SERVER="http://localhost/trac/builds"
23
24 # Temporary dir wher builds take place
25 #BITTEN_TMPDIR="/var/tmp/bitten"
26
27 # Log file
28 #BITTEN_LOG="/var/log/bitten.log"
29
30 # Additional options for bitten
31 #BITTEN_OPTS=""
32
33 # User and group as which to run bitten
34 #BITTEN_USER="bitten"
35 #BITTEN_GROUP="tracd"
36
37
38
39 1.1 www-apps/bitten/files/bitten.initd
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/bitten/files/bitten.initd?rev=1.1&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/bitten/files/bitten.initd?rev=1.1&content-type=text/plain
43
44 Index: bitten.initd
45 ===================================================================
46 #!/sbin/runscript
47 # Copyright 1999-2012 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License, v2 or later
49 # $Header: /var/cvsroot/gentoo-x86/www-apps/bitten/files/bitten.initd,v 1.1 2012/08/27 11:01:40 xarthisius Exp $
50
51 start() {
52 ebegin "Starting Bitten slave"
53 start-stop-daemon --start --user ${BITTEN_USER:-bitten} --group ${BITTEN_GROUP:-tracd} \
54 --pidfile /var/run/bitten.pid --make-pidfile --background \
55 --exec /usr/bin/bitten-slave -- \
56 ${BITTEN_SERVER} -d ${BITTEN_TMPDIR:-/var/tmp/bitten} -l ${BITTEN_LOG:-/var/log/bitten.log} \
57 ${BITTEN_OPTS}
58 eend $?
59 }
60
61 stop() {
62 ebegin "Stopping Bitten slave"
63 start-stop-daemon --stop --quiet --pidfile /var/run/bitten.pid
64 eend $?
65 }