New package: beanstalk-1.10

This commit is contained in:
bougyman 2015-05-09 09:05:11 -05:00
parent 11a3b0882a
commit 74977deae0
3 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec logger -t beanstalkd -p daemon.info

View file

@ -0,0 +1,5 @@
#!/bin/sh
# By default use persistent storage (binary log)
: ${OPTS:=-b /var/lib/beanstalkd}
[ -d /var/lib/beanstalkd ] || install -D -o beanstalkd -g beanstalkd
exec chpst -u beanstalkd:beanstalkd ${OPTS} 2>&1

View file

@ -0,0 +1,18 @@
# Template file for 'beanstalk'
pkgname=beanstalk
version=1.10
revision=1
build_style=gnu-makefile
wrksrc="beanstalkd-${version}"
short_desc="A simple, fast work queue"
maintainer="bougyman <bougyman@voidlinux.eu>"
license="MIT"
homepage="http://kr.github.io/beanstalkd/"
distfiles="https://github.com/kr/beanstalkd/archive/v${version}.tar.gz"
checksum=923b1e195e168c2a91adcc75371231c26dcf23868ed3e0403cd4b1d662a52d59
system_accounts="beanstalkd"
post_install() {
vdoc README
vsv beanstalkd
}