Permalink
Browse files

Fixed example for cc_command with %o, %s

  • Loading branch information...
1 parent c150b2f commit 4bde69896fd36a292af2c93be8376cb4be022e8a @cosimo committed Dec 1, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 README
  2. +1 −1 examples/etc/default/varnish
  3. +1 −1 geoip.c
View
@@ -1,7 +1,7 @@
Varnish Geo-IP VCL
===========================
-Last updated: 30/11/2011
+Last updated: 1/12/2011
Cosimo Streppone <cosimo@opera.com>
Opera Software ASA
@@ -47,7 +47,7 @@ Instructions
}C
4) If you run Debian, look here:
-
+
http://my.opera.com/cstrep/blog/2011/11/30/how-to-start-up-varnish-with-a-custom-cc-command-on-debian
for instructions on how to specify a custom "cc_command" in
@@ -25,5 +25,5 @@ DAEMON_OPTS="-a :6081 \
-f /etc/varnish/default.vcl \
-S /etc/varnish/secret \
-s malloc,100M \
- -p 'cc_command=exec cc -fpic -shared -Wl,-x -L/usr/include/GeoIP.h -lGeoIP -o $@'"
+ -p 'cc_command=exec cc -fpic -shared -Wl,-x -L/usr/include/GeoIP.h -lGeoIP -o %o %s'"
View
@@ -4,7 +4,7 @@
* Idea and GeoIP code taken from
* http://svn.wikia-code.com/utils/varnishhtcpd/wikia.vcl
*
- * Cosimo, 28/01/2010
+ * Cosimo, 01/12/2011
*/
#include <assert.h>

0 comments on commit 4bde698

Please sign in to comment.