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

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