diff scripts/import-usas.sh @ 73:d2c44193fbaa

explictly remove db's before import
author smith@nwoca.org
date Mon, 21 Mar 2016 22:17:55 +0100
parents e155908fa039
children 6f8a77d8d58d
line wrap: on
line diff
--- a/scripts/import-usas.sh	Fri Mar 18 01:45:42 2016 +0100
+++ b/scripts/import-usas.sh	Mon Mar 21 22:17:55 2016 +0100
@@ -1,6 +1,9 @@
 #!/bin/bash
 
+source "$( dirname "${BASH_SOURCE[0]}")/.functions.sh"
+
 docker-compose stop usasapp usasdb
+resetDbVolume usasdb
 docker-compose rm -vf usasapp usasdb
 
 export IMP_IRN=${IMP_IRN}