diff scripts/import-usps.sh @ 46:dfbb643b82a3

tee import logs to a file
author smith@nwoca.org
date Tue, 02 Feb 2016 21:24:28 +0000
parents dc40a6ed0af3
children e155908fa039
line wrap: on
line diff
--- a/scripts/import-usps.sh	Wed Jan 27 17:37:41 2016 -0500
+++ b/scripts/import-usps.sh	Tue Feb 02 21:24:28 2016 +0000
@@ -10,7 +10,7 @@
 export IMP_EM=${IMP_EM-}
 
 # start import and wait for completion
-docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml up uspsimport
+docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml up uspsimport | tee uspsimport.log
 # remove temporary container
 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml rm -f uspsimport
 # start application