#!/bin/sh

# XXX Should not need to make db directory. newcoind should do this.
for SITE in $HOSTS
do
	echo "Clearing db for:" $SITE
	DB_DIR="/var/www/$SITE/db/"
	mkdir -p "/var/www/$SITE/db/"
	rm -rf "/var/www/$SITE/db/*"
done
