Created
October 15, 2015 16:20
-
-
Save bronger/11955b3828ce5a9da44b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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