Last active
September 6, 2016 18:39
-
-
Save levabd/0afa17184d7e85799d83d45ddc29fc14 to your computer and use it in GitHub Desktop.
Beanstalkd recipe for stack-updater
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
[ | |
{ | |
"name": "Beanstalkd", | |
"command": "/usr/bin/dpkg -l | awk '$2==\"beanstalkd\" { print $3 }'", | |
"required": "1.10", | |
"comparison": ">=", | |
"installer": "beanstalkd.sh", | |
"order": "1" | |
} | |
] |
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
#!/bin/bash | |
set -e #exit immediately if a simple command exits with a nonzero exit value | |
apt-get update | |
apt-get install -y beanstalkd | |
/etc/init.d/beanstalkd restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment