Mercurial > dive4elements > river
comparison flys-artifacts/contrib/flush_cache.sh @ 5574:9245ef9e349b
Backed out changeset 2eeb9a45cd2e
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 05 Apr 2013 12:11:58 +0200 |
parents | 2eeb9a45cd2e |
children |
comparison
equal
deleted
inserted
replaced
5573:2eeb9a45cd2e | 5574:9245ef9e349b |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 if [ $# != 2 ]; then | 3 if [ $# != 2 ]; then |
4 echo "usage $0 <artifact-server-port> <cachename>" | 4 echo "usage $0 <artifact-server-port> <cachename>" |
5 echo " cachename is the name of the cache defined in conf/caches.xml" | 5 echo " cachename is the name of the cache defined in conf/caches.xml" |
6 echo " for example: $0 12123 datacage.db." | 6 echo " for example: $0 12123 datacage.db" |
7 echo " Cachenames can be found in conf/cache.xml" | |
8 exit 1 | 7 exit 1 |
9 fi | 8 fi |
10 | 9 |
11 curl -d @- http://localhost:$1/service/cache-invalidation << EOF | 10 curl -d @- http://localhost:$1/service/cache-invalidation << EOF |
12 <?xml version="1.0" ?> | 11 <?xml version="1.0" ?> |