Skip to content

Instantly share code, notes, and snippets.

@mattzuba
Created January 5, 2015 17:56
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save mattzuba/507765a4370b2a220107 to your computer and use it in GitHub Desktop.
Save mattzuba/507765a4370b2a220107 to your computer and use it in GitHub Desktop.
beanstalkd.config
sources:
/tmp: https://github.com/kr/beanstalkd/archive/v1.10.tar.gz
commands:
01_make_beanstalkd:
cwd: /tmp/beanstalkd-1.10
command: make
02_install_beanstalkd:
cwd: /tmp/beanstalkd-1.10
command: make install PREFIX=/usr
03_upstart_beanstalkd:
cwd: /tmp/beanstalkd-1.10/adm/upstart
command: sed 's~exec su nobody.*~exec /usr/bin/beanstalkd~' beanstalkd.conf > /etc/init/beanstalkd.conf
04_start_beanstalkd:
command: start beanstalkd
ignoreErrors: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment