diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-05-03 18:57:51 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-05-03 18:57:51 +0100 |
commit | 20324887036cccc940e1d68fe8c99864b5b634bd (patch) | |
tree | e8968ddf336b65d40d295421d19091f061d940ca /script/purge-varnish | |
parent | c86325840e2204daea36e68fac045a215a26eafe (diff) | |
parent | 858898510fe77550ac6550a6b306b5c7a2b93d31 (diff) |
Merge branch 'develop' of github.com:sebbacon/alaveteli into develop
Diffstat (limited to 'script/purge-varnish')
-rwxr-xr-x | script/purge-varnish | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/script/purge-varnish b/script/purge-varnish new file mode 100755 index 000000000..932cf6635 --- /dev/null +++ b/script/purge-varnish @@ -0,0 +1,11 @@ +#!/bin/bash + +LOC=`dirname $0` + +if [ "$1" == "--loop" ] +then + "$LOC/runner" 'PurgeRequest.purge_all_loop' +else + "$LOC/runner" 'PurgeRequest.purge_all' +fi + |