Mercurial > dive4elements > river
comparison flys-artifacts/contrib/flush_cache.sh @ 5573:2eeb9a45cd2e
mention conf/cache.xml in flush_cache doku
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 05 Apr 2013 12:06:48 +0200 |
parents | d0c8cfb493f5 |
children | 9245ef9e349b |
comparison
equal
deleted
inserted
replaced
5572:a264244b3d63 | 5573:2eeb9a45cd2e |
---|---|
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" | |
7 exit 1 | 8 exit 1 |
8 fi | 9 fi |
9 | 10 |
10 curl -d @- http://localhost:$1/service/cache-invalidation << EOF | 11 curl -d @- http://localhost:$1/service/cache-invalidation << EOF |
11 <?xml version="1.0" ?> | 12 <?xml version="1.0" ?> |