kolla/docker/designate/designate-central/extend_start.sh
Viktor Michalek 63bd1c9124 Designate: pool-manager has been removed
Change-Id: I4a7bbfaf3c30c57432de056f701d8abc7992d142
Closes-Bug: 1852784
2019-11-18 18:41:38 +00:00

14 lines
432 B
Bash

#!/bin/bash
if [[ ! -f "/var/log/kolla/designate/designate-manage.log" ]]; then
touch /var/log/kolla/designate/designate-manage.log
chmod 644 /var/log/kolla/designate/designate-manage.log
fi
# 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
designate-manage database sync
exit 0
fi