summary refs log tree commit diff
path: root/demo/clean.sh
diff options
context:
space:
mode:
authormanuroe <manu@matrix.org>2015-06-04 17:58:17 +0200
committermanuroe <manu@matrix.org>2015-06-04 17:58:17 +0200
commit378a0f7a79a22a1211e3d048b7fd9e99d1efc7de (patch)
treec458539bbfe7d93e70e0823cc0ebf70b1192e3cf /demo/clean.sh
parentpep8 (diff)
downloadsynapse-378a0f7a79a22a1211e3d048b7fd9e99d1efc7de.tar.xz
Federation demo start.sh: Fixed --no-rate-limit param in the script
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..31007737f8 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 demo/$port
+    rm -rf demo/media_store.$port
+done
 
 rm -rf $DIR/etc