Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/beanstalkd/files: conf-1.9 init-1.9
Date: Mon, 31 Mar 2014 06:34:32
Message-Id: 20140331063428.CE8D32005E@flycatcher.gentoo.org
1 patrick 14/03/31 06:34:28
2
3 Added: conf-1.9 init-1.9
4 Log:
5 Bump for #505828
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.1 app-misc/beanstalkd/files/conf-1.9
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/beanstalkd/files/conf-1.9?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/beanstalkd/files/conf-1.9?rev=1.1&content-type=text/plain
14
15 Index: conf-1.9
16 ===================================================================
17 # Copyright 1999-2014 Gentoo Foundation
18 # Distributed under the terms of the GNU General Public License v2
19 # $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/files/conf-1.9,v 1.1 2014/03/31 06:34:28 patrick Exp $
20
21 BEANSTALKD_BINARY="/usr/bin/beanstalkd"
22 PIDFILE="/run/beanstalkd.pid"
23
24 # User to run as
25 USER="beanstalk"
26
27 # Port to listen on
28 PORT="11300"
29
30 # Address to listen on
31 ADDR="127.0.0.1"
32
33 # Datadir (where to store queue)
34 DATADIR="/var/lib/beanstalkd"
35
36 # Max job size
37 JOB_SIZE="65536"
38
39
40
41 1.1 app-misc/beanstalkd/files/init-1.9
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/beanstalkd/files/init-1.9?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/beanstalkd/files/init-1.9?rev=1.1&content-type=text/plain
45
46 Index: init-1.9
47 ===================================================================
48 #!/sbin/runscript
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of MIT
51 # $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/files/init-1.9,v 1.1 2014/03/31 06:34:28 patrick Exp $
52
53 depend() {
54 need net
55 }
56
57 start() {
58 ebegin "Starting beanstalkd"
59 /sbin/start-stop-daemon --start \
60 --background \
61 --pidfile ${PIDFILE} --make-pidfile \
62 --exec ${BEANSTALKD_BINARY} \
63 -- -b ${DATADIR} -p ${PORT} -l ${ADDR} -u ${USER} -z ${JOB_SIZE}
64 eend $?
65 }
66
67 stop() {
68 ebegin "Stopping beanstalkd"
69 start-stop-daemon --stop --quiet \
70 --pidfile ${PIDFILE} \
71 --exec ${BEANSTALKD_BINARY}
72 eend $?
73 }