aboutsummaryrefslogtreecommitdiff
path: root/script/dev-clean.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-12-12 16:05:28 +0100
committerAlex Auvolat <alex@adnab.me>2020-12-12 16:05:28 +0100
commit0b3084ca5ff7884f149f679c6dc391bab46d902d (patch)
tree9e2797fea45bb0fe5f55afc205366d45c2c3b0dd /script/dev-clean.sh
parentcbd10c1b0a1325fbd7cf91a43ea0044ba1aae409 (diff)
parent022b386a5085cad79d649a82846c41cad730920b (diff)
downloadgarage-0b3084ca5ff7884f149f679c6dc391bab46d902d.tar.gz
garage-0b3084ca5ff7884f149f679c6dc391bab46d902d.zip
Merge branch 'master' into doc/modeldoc/model
Diffstat (limited to 'script/dev-clean.sh')
-rwxr-xr-xscript/dev-clean.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/script/dev-clean.sh b/script/dev-clean.sh
new file mode 100755
index 00000000..151c5547
--- /dev/null
+++ b/script/dev-clean.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -ex
+
+killall -9 garage || echo "garage is not running"
+rm -rf /tmp/garage*
+rm -rf /tmp/config.*.toml