launching ningesterpy process
authorFrank Greguska <francis.greguska@jpl.nasa.gov>
Sat, 27 Jan 2018 03:16:25 +0000 (19:16 -0800)
committerFrank Greguska <francis.greguska@jpl.nasa.gov>
Sat, 27 Jan 2018 03:16:25 +0000 (19:16 -0800)
docker/entrypoint.sh

index d100c75..c468ef9 100755 (executable)
@@ -5,4 +5,6 @@ NINGESTER_JAR=`find ningester/build/libs -name ningester*.jar`
 CONFIG_FILES=`find /config -name "*.yml" | awk -vORS=, '{ print $1 }'`
 GRANULE=`find /data -type f`
 
-java -Dspring.profiles.active=$1 -Dspring.config.location=${CONFIG_FILES} -jar ${NINGESTER_JAR} granule=${GRANULE}
\ No newline at end of file
+python -m ningesterpy | sed "s/^/[ningesterpy] /" &
+
+java -Dspring.profiles.active=$1 -Dspring.config.location=${CONFIG_FILES} -jar ${NINGESTER_JAR} granule=${GRANULE} | sed "s/^/[ningester] /"
\ No newline at end of file