Skip to content

Instantly share code, notes, and snippets.

@bronger
Created October 15, 2015 16:20
  • Select an option

Select an option

#!/bin/bash
export MEMCACHED_SERVERS=`host memcached | awk '/has address/ { print $NF":11211" }'`
. /etc/apache2/envvars && exec /usr/sbin/apache2 -DFOREGROUND
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment