comparison artifacts/contrib/flush_cache.sh @ 7730:e1b831fe435a slt-simplify-cross-sections

Merged default into slt-simplify-cross-sections branch and updated package and class names.
author Tom Gottfried <tom@intevation.de>
date Mon, 20 Jan 2014 14:04:20 +0100
parents 5aa05a7a34b7
children
comparison
equal deleted inserted replaced
5084:ca45dd039b54 7730:e1b831fe435a
1 #!/bin/bash
2
3 if [ $# != 2 ]; then
4 echo "usage $0 <artifact-server-port> <cachename>"
5 echo " cachename is the name of the cache defined in conf/caches.xml"
6 echo " for example: $0 12123 datacage.db"
7 exit 1
8 fi
9
10 curl -d @- http://localhost:$1/service/cache-invalidation << EOF
11 <?xml version="1.0" ?>
12 <caches>
13 <cache name="$2"/>
14 </caches>
15 EOF

http://dive4elements.wald.intevation.org