summary refs log tree commit diff
path: root/demo/clean.sh
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2015-08-12 09:39:57 +0100
committerMark Haines <mjark@negativecurvature.net>2015-08-12 09:39:57 +0100
commit275f7c987c1f61a77802d1ffdc40ff2a4a1f3365 (patch)
tree86f7089be221dd5cbbc55920b3a06b3cb45a3941 /demo/clean.sh
parentMerge pull request #218 from matrix-org/mockfix (diff)
parentFix the cleanup script to use the right $DIR (diff)
downloadsynapse-275f7c987c1f61a77802d1ffdc40ff2a4a1f3365.tar.xz
Merge pull request #182 from matrix-org/manu/fix_no_rate_limit_in_federation_demo
Federation demo start.sh: Fixed --no-rate-limit param in the script
Diffstat (limited to '')
-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