Fix path to config file

This commit is contained in:
Girish Ramakrishnan 2020-11-10 16:22:59 -08:00
parent 7f6c6a1e57
commit b3844e860f

View file

@ -6,7 +6,7 @@ mkdir -p /app/data/runtime /app/data/config
if [[ ! -f /app/data/config/prometheus.yml ]]; then
echo "=> Creating config file on first run"
sudo -u cloudron cp -n /usr/local/bin/prometheus/prometheus.yml /app/data/config/prometheus.yml
sudo -u cloudron cp -n /app/code/prometheus.yml /app/data/config/prometheus.yml
fi
chown -R cloudron:cloudron /app/data