I created an init script based on upstart guide here 
: https://github.com/kr/beanstalkd/blob/master/adm/upstart/beanstalkd.conf
Wanting beanstalkd to persist between reboots, I added "*-b <dir>*" to the 
script and create */var/lib/beanstalkd* folder with write permission but it 
doesn't seem to start after reboot.

Here's the init script in full:

description "simple, fast work queue"
>
>
>> start on filesystem
>
> stop on runlevel [!2345]
>
>
>> respawn
>
> respawn limit 5 2
>
>
>> exec su nobody -c 'exec /usr/local/bin/beanstalkd -b /var/lib/beanstalkd'
>
>
 Doing a ps -C beanstalkd returns no process. I am on Ubuntu 12.04. Where 
did I do wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to