Last active
December 22, 2015 13:58
-
-
Save myster-t/6482467 to your computer and use it in GitHub Desktop.
Beanstalkd Upstart script (Amazon Linux)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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