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