kolla-ansible/docker/congress/congress-api/extend_start.sh
MD NADEEM e70f8e1439 Add Dockerfile for congress
Change-Id: I30c4d7929940c751bf88c4bf9a0e200025ebd5c8
Partially-Implements: blueprint enable-congress-container
2016-08-19 09:29:24 +05:30

9 lines
287 B
Bash

#!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
congress-db-manage --config-file /etc/congress/congress.conf upgrade head
exit 0
fi