I ran into the same problem with Ubuntu 12.04, attempted to debug for a good amount of time to no availability until this workaround.
Leave beanstalkd disabled in /etc/default/beanstalkd Then create a bash script to execute beanstalkd. #!/bin/bash /usr/local/bin/beanstalkd -l 0.0.0.0 -p 11300 -b /var/lib/beanstalkd Then setup supervisord. [program:beanstalkd] command=/usr/local/bin/beanstalkdshell startsecs=15 autorestart=true autostart=true stopsignal=KILL user=nobody Now you have a recoverable beanstalkd. Hope it helps for anyone else. On Sunday, 10 March 2013 06:12:04 UTC-4, Eddy wrote: > > 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. For more options, visit https://groups.google.com/groups/opt_out.
