Skip to content

Instantly share code, notes, and snippets.

@broklyngagah
Forked from mattzuba/beanstalkd.config
Created September 2, 2016 13:04
Show Gist options
  • Save broklyngagah/555583ff5402b96b584f3332cec8ad8a to your computer and use it in GitHub Desktop.
Save broklyngagah/555583ff5402b96b584f3332cec8ad8a 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