summary refs log tree commit diff
path: root/demo/clean.sh
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-08-12 15:58:35 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-08-12 15:58:35 +0100
commitf4122c64b59d4c03da5d3383c8abc06a687d5da1 (patch)
treec557f43fd1e6320bd3cf1f0bfe89683f1b70921d /demo/clean.sh
parentRemove call to recently removed function in mock (diff)
parentMerge pull request #220 from matrix-org/markjh/generate_keys (diff)
downloadsynapse-f4122c64b59d4c03da5d3383c8abc06a687d5da1.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into develop
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