summaryrefslogtreecommitdiff
path: root/extra/varnish/varnish.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/varnish/varnish.install')
-rw-r--r--extra/varnish/varnish.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/varnish/varnish.install b/extra/varnish/varnish.install
new file mode 100644
index 000000000..fceaf4be7
--- /dev/null
+++ b/extra/varnish/varnish.install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# remove localstatedir -- compiled VCL and slab files will still be here.
+post_remove() {
+ rm -rf /var/lib/varnish
+}