beanstalkd: improve runit run script.
This commit is contained in:
parent
00989db180
commit
54a8a0a90e
@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# By default use persistent storage (binary log)
|
# By default use persistent storage (binary log)
|
||||||
: ${OPTS:=-b /var/lib/beanstalkd}
|
: ${OPTS:=-b /var/lib/beanstalkd}
|
||||||
[ -d /var/lib/beanstalkd ] || install -D -o beanstalkd -g beanstalkd
|
[ -r conf ] && . ./conf
|
||||||
|
[ -d /var/lib/beanstalkd ] || install -D -o beanstalkd -g beanstalkd /var/lib/beanstalkd
|
||||||
exec chpst -u beanstalkd:beanstalkd ${OPTS} 2>&1
|
exec chpst -u beanstalkd:beanstalkd ${OPTS} 2>&1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user