Skip to content

Instantly share code, notes, and snippets.

@levabd
Last active September 6, 2016 18:39
Show Gist options
  • Save levabd/0afa17184d7e85799d83d45ddc29fc14 to your computer and use it in GitHub Desktop.
Save levabd/0afa17184d7e85799d83d45ddc29fc14 to your computer and use it in GitHub Desktop.
Beanstalkd recipe for stack-updater
[
{
"name": "Beanstalkd",
"command": "/usr/bin/dpkg -l | awk '$2==\"beanstalkd\" { print $3 }'",
"required": "1.10",
"comparison": ">=",
"installer": "beanstalkd.sh",
"order": "1"
}
]
#!/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