1bb082d35a
Drop 'USER trove' from trove-api, trove-api runs under apache needs run as root Change-Id: I8882484b32a3a3fbde52f58c1209e8c127ea9931
11 lines
270 B
Bash
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
|