#!/bin/bash
if [ ! -f /config/initialized.flag ] ; then
	if [ "$SAMPLE" = "true" ] ; then
		cp -R /upload/* /dbs/
	fi;
	touch /config/initialized.flag
fi;

/db-derby-10.12.1.1-bin/bin/NetworkServerControl start -h 0.0.0.0 -p 1527
#!/bin/bash

set -e 

if [ ! -f initialized.flag ] ; then
	if [ "$SAMPLE" = "true" ] ; then
		cp -R /upload/* /dbs/
	fi;
	touch initialized.flag
fi;

/db-derby-10.12.1.1-bin/bin/NetworkServerControl start -h 0.0.0.0 -p 1527
Change location for init file (config dir does not exist)
Change location for init file (config dir does not exist)
