On Fri, Feb 26, 2010 at 12:23 PM, Serafeim Zanikolas <[email protected]> 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 <[email protected]>"

    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
maybe the user name.

kr

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

Reply via email to