beanstalkd: improve runit run script.
This commit is contained in:
parent
00989db180
commit
54a8a0a90e
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
# By default use persistent storage (binary log)
|
||||
: ${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
|
||||
|
|
Loading…
Add table
Reference in a new issue