Skip to content

Instantly share code, notes, and snippets.

@myster-t
Last active December 22, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myster-t/6482467 to your computer and use it in GitHub Desktop.
Save myster-t/6482467 to your computer and use it in GitHub Desktop.
Beanstalkd Upstart script (Amazon Linux)
description "simple, fast work queue"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 5 2
expect fork
script
. /etc/default/beanstalkd
exec su -c "exec /usr/bin/beanstalkd $BEANSTALKD_OPTIONS"
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment