monkey/monkey_island/linux/clear_db.sh

7 lines
102 B
Bash

#!/bin/bash
service monkey-mongo stop
cd /var/monkey_island
rm -rf ./db/*
service monkey-mongo start