summary refs log tree commit diff
path: root/demo/clean.sh
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-12 10:30:30 +0100
committerErik Johnston <erik@matrix.org>2015-08-12 10:30:30 +0100
commitd7451e0f22020624463d3c5f24a2fe54ed451b59 (patch)
treec2dccc35e4cddb5d415832dbfce39f6116ea48bf /demo/clean.sh
parentWire up the dictionarycache to the metrics (diff)
parentMerge pull request #182 from matrix-org/manu/fix_no_rate_limit_in_federation_... (diff)
downloadsynapse-d7451e0f22020624463d3c5f24a2fe54ed451b59.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/dictionary_cache
Diffstat (limited to 'demo/clean.sh')
-rwxr-xr-xdemo/clean.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/demo/clean.sh b/demo/clean.sh
index c5dabd4767..418ca9457e 100755
--- a/demo/clean.sh
+++ b/demo/clean.sh
@@ -11,7 +11,9 @@ if [ -f $PID_FILE ]; then
     exit 1
 fi
 
-find "$DIR" -name "*.log" -delete
-find "$DIR" -name "*.db" -delete
+for port in 8080 8081 8082; do
+    rm -rf $DIR/$port
+    rm -rf $DIR/media_store.$port
+done
 
 rm -rf $DIR/etc