63bd1c9124
Change-Id: I4a7bbfaf3c30c57432de056f701d8abc7992d142 Closes-Bug: 1852784
14 lines
432 B
Bash
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
|