1dfa9c79f9
First container from logging stack Change-Id: I8c8b6743e22a38969cb8a741f3176c5aed24f549 Implements: bp logging-container
12 lines
214 B
Bash
Executable File
12 lines
214 B
Bash
Executable File
#!/bin/bash
|
|
SOURCE="/opt/kolla/rsyslog/rsyslog.conf"
|
|
TARGET="/etc/rsyslog.conf"
|
|
OWNER="root"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
rm $TARGET
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|