Created
June 22, 2016 14:36
-
-
Save ldynia/5a9bbfb933e80b6771d21d76378aa15d 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 | |
# link: https://hub.docker.com/r/ldynia/varnish/ | |
set -e | |
# Run varnish in foreground. | |
exec bash -c \ | |
"exec varnishd -F -u varnish \ | |
-a :$VCL_PORT \ | |
-f $VCL_CONFIG \ | |
-s malloc,$CACHE_SIZE \ | |
$VARNISHD_PARAMS" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment