Skip to content

Instantly share code, notes, and snippets.

@matrunchyk
Forked from broklyngagah/beanstalkd.config
Last active August 8, 2017 22:19
Show Gist options
  • Save matrunchyk/39dfbd9089e4204c39af3dbb7723000b to your computer and use it in GitHub Desktop.
Save matrunchyk/39dfbd9089e4204c39af3dbb7723000b 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