summaryrefslogtreecommitdiffstats
path: root/services/activity-spec/activity-spec-init/start.sh
blob: defc8efedf1d4b71c1acf15e3f3bcaab39787cda (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [[ -z "${CASSANDRA_HOST}" ]]; then
	echo "CASSANDRA_HOST environment variable must be set"
	exit 1
fi

cqlsh -f /create_activityspec_db.cql $CASSANDRA_HOST $CASSANDRA_PORT