Skip to content

Instantly share code, notes, and snippets.

View gfrey's full-sized avatar

Gereon Frey gfrey

View GitHub Profile
@gfrey
gfrey / gist:8472007
Created January 17, 2014 11:34
Upstart script for haproxy with support for reload.
description "Properly handle haproxy"
start on startup
env PID_PATH=/var/run/haproxy.pid
env BIN_PATH=/usr/sbin/haproxy
script
exec /bin/bash <<EOF
$BIN_PATH -f /etc/haproxy.cfg -D -p $PID_PATH

Keybase proof

I hereby claim:

  • I am gfrey on github.
  • I am gfrey (https://keybase.io/gfrey) on keybase.
  • I have a public key whose fingerprint is C4B6 DA82 02CC E673 7AA3 5D67 1231 DDD2 515F 2772

To claim this, I am signing this object: