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.9 init-1.9
@ 2014-03-31  6:34 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2014-03-31  6:34 UTC (permalink / raw
  To: gentoo-commits

patrick     14/03/31 06:34:28

  Added:                conf-1.9 init-1.9
  Log:
  Bump for #505828
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)

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

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

Index: conf-1.9
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/files/conf-1.9,v 1.1 2014/03/31 06:34:28 patrick Exp $

BEANSTALKD_BINARY="/usr/bin/beanstalkd"
PIDFILE="/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"

# Max job size
JOB_SIZE="65536"



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

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

Index: init-1.9
===================================================================
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of MIT
# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/files/init-1.9,v 1.1 2014/03/31 06:34:28 patrick Exp $

depend() {
	need net
}

start() {
	ebegin "Starting beanstalkd"
	/sbin/start-stop-daemon --start \
        --background \
		--pidfile ${PIDFILE} --make-pidfile \
		--exec ${BEANSTALKD_BINARY} \
		-- -b ${DATADIR} -p ${PORT} -l ${ADDR} -u ${USER} -z ${JOB_SIZE}
	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:[~2014-03-31  6:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-31  6:34 [gentoo-commits] gentoo-x86 commit in app-misc/beanstalkd/files: conf-1.9 init-1.9 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