comparison artifacts/contrib/flush_cache.sh @ 5838:5aa05a7a34b7

Rename modules to more fitting names.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 15:23:37 +0200
parents flys-artifacts/contrib/flush_cache.sh@9245ef9e349b
children
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
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