diff options
Diffstat (limited to 'scripts/danger/clean/server.sh')
-rwxr-xr-x | scripts/danger/clean/server.sh | 8 |
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 | |||
3 | read -p "This will remove certs, uploads, database (dev) and logs. Are you sure? " -n 1 -r | ||
4 | |||
5 | if [[ "$REPLY" =~ ^[Yy]$ ]]; then | ||
6 | rm -rf ./certs ./logs ./uploads | ||
7 | printf "use peertube-dev;\ndb.dropDatabase();" | mongo | ||
8 | fi | ||