+++ /dev/null
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of MIT
-# $Id$
-
-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}
- eend $?
-}
-
-stop() {
- ebegin "Stopping beanstalkd"
- start-stop-daemon --stop --quiet \
- --pidfile ${PIDFILE} \
- --exec ${BEANSTALKD_BINARY}
- eend $?
-}
\ No newline at end of file
+++ /dev/null
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of MIT
-# $Id$
-
-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}
- eend $?
-}
-
-stop() {
- ebegin "Stopping beanstalkd"
- start-stop-daemon --stop --quiet \
- --pidfile ${PIDFILE} \
- --exec ${BEANSTALKD_BINARY}
- eend $?
-}
\ No newline at end of file