aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/danger/clean/server.sh
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-13 21:45:23 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-13 21:45:23 +0200
commit82221ac920ad2e6bafc742a09fa1636899d4173e (patch)
tree4c7928dd457d9e3b223bd2835ae0d23cd3c87d41 /scripts/danger/clean/server.sh
parent0b10407e465d639cd141fe8821a8504a0b7b83fb (diff)
downloadPeerTube-82221ac920ad2e6bafc742a09fa1636899d4173e.tar.gz
PeerTube-82221ac920ad2e6bafc742a09fa1636899d4173e.tar.zst
PeerTube-82221ac920ad2e6bafc742a09fa1636899d4173e.zip
Update clean script
Diffstat (limited to 'scripts/danger/clean/server.sh')
-rwxr-xr-xscripts/danger/clean/server.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/danger/clean/server.sh b/scripts/danger/clean/server.sh
deleted file mode 100755
index 1a0576112..000000000
--- a/scripts/danger/clean/server.sh
+++ /dev/null
@@ -1,8 +0,0 @@
1#!/bin/bash
2
3read -p "This will remove certs, uploads, database (dev) and logs. Are you sure? " -n 1 -r
4
5if [[ "$REPLY" =~ ^[Yy]$ ]]; then
6 rm -rf ./certs ./logs ./uploads
7 printf "use peertube-dev;\ndb.dropDatabase();" | mongo
8fi