public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-misc/beanstalkd/files: conf-1.4.2 init-1.4.2
@ 2009-10-23 19:20 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2009-10-23 19:20 UTC (permalink / raw
  To: gentoo-commits

patrick     09/10/23 19:20:31

  Added:                conf-1.4.2 init-1.4.2
  Log:
  Bump, fixes #290270. Thanks to Johan Bergstrom for the patches
  (Portage version: 2.2_rc46/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-misc/beanstalkd/files/conf-1.4.2

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beanstalkd/files/conf-1.4.2?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beanstalkd/files/conf-1.4.2?rev=1.1&content-type=text/plain

Index: conf-1.4.2
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/files/conf-1.4.2,v 1.1 2009/10/23 19:20:31 patrick Exp $

BEANSTALKD_BINARY="/usr/bin/beanstalkd"
PIDFILE="/var/run/beanstalkd.pid"

# User to run as
USER="beanstalk"

# Port to listen on
PORT="11300"

# Address to listen on
ADDR="127.0.0.1"

# Datadir (where to store queue)
DATADIR="/var/lib/beanstalkd"



1.1                  app-misc/beanstalkd/files/init-1.4.2

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beanstalkd/files/init-1.4.2?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beanstalkd/files/init-1.4.2?rev=1.1&content-type=text/plain

Index: init-1.4.2
===================================================================
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/files/init-1.4.2,v 1.1 2009/10/23 19:20:31 patrick Exp $

depend() {
	need net
}

start() {
	ebegin "Starting beanstalkd"
	/sbin/start-stop-daemon --start \
		--pidfile ${PIDFILE} \
		--exec ${BEANSTALKD_BINARY} \
		-- -b ${DATADIR} -d -p ${PORT} -l ${ADDR} -u ${USER}
	eend $?
}

stop() {
	ebegin "Stopping beanstalkd"
	start-stop-daemon --stop --quiet \
		--pidfile ${PIDFILE} \
		--exec ${BEANSTALKD_BINARY}
	eend $?
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-23 19:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23 19:20 [gentoo-commits] gentoo-x86 commit in app-misc/beanstalkd/files: conf-1.4.2 init-1.4.2 Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox