kolla/docker/common/horizon/config-external.sh
Swapnil Kulkarni c7cb78c114 horizon start scripts need update for cmd & args
Change-Id: I3a750bdc496942c318111ca3c2384b624f977cef
Closes-Bug:#1472491
2015-07-09 12:17:31 -04:00

11 lines
232 B
Bash

#!/bin/bash
SOURCE="/etc/openstack-dashboard/local_settings"
TARGET="/etc/openstack-dashboard/local_settings"
OWNER="horizon"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi