ab96e4a51e
Partially Implements: Blueprint standard-start Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net> Change-Id: I4623f2495365e3178d3cd7f453683c2ceaf16b02
11 lines
200 B
Bash
11 lines
200 B
Bash
#!/bin/bash
|
|
SOURCE="/opt/kolla/zaqar/zaqar.conf"
|
|
TARGET="/etc/zaqar/zaqar.conf"
|
|
OWNER="zaqar"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|