1 Mar 2010 03:30
Re: Make'd, Installed, how can I get this running on boot?
On Fri, Feb 26, 2010 at 12:23 PM, Serafeim Zanikolas <serzan@...> wrote: > On Fri, Feb 26, 2010 at 10:09:04AM -0800, Mike Curry wrote [edited]: >> I want to configure beanstalk to start on boot. > [..] >> I am using Ubuntu/Jaunty. > > Since you're using a debian-derivative distro, I suggest that you install the > beanstalkd package from debian testing: Also, Dustin just recently wrote a good introduction to modern process management. http://dustin.github.com/2010/02/28/running-processes.html On Ubuntu, you probably want to use upstart. Writing an upstart script for beanstalkd should be easy. Just put it in /etc/init/beanstalkd.conf and upstart should take care of things. Here's a starting point. I haven't tested it. description "Beanstalk is a simple, fast work queue." author "Keith Rarick <kr@...>" start on runlevel [23] stop on runlevel [01456] exec /usr/local/bin/beanstalkd -u daemon respawn If you use the debian package, you'll need to adjust the path and(Continue reading)
RSS Feed