kolla/docker/trove/trove-api/extend_start.sh
wu.chunyang 1bb082d35a Switch trove-api to wsgi running under apache.
Drop 'USER trove' from trove-api, trove-api runs under
apache needs run as root

Change-Id: I8882484b32a3a3fbde52f58c1209e8c127ea9931
2023-01-30 13:34:49 +00:00

11 lines
270 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
trove-manage db_sync
exit 0
fi
. /usr/local/bin/kolla_httpd_setup