Fix path to config file
This commit is contained in:
parent
7f6c6a1e57
commit
b3844e860f
1 changed files with 1 additions and 1 deletions
2
start.sh
2
start.sh
|
@ -6,7 +6,7 @@ mkdir -p /app/data/runtime /app/data/config
|
||||||
|
|
||||||
if [[ ! -f /app/data/config/prometheus.yml ]]; then
|
if [[ ! -f /app/data/config/prometheus.yml ]]; then
|
||||||
echo "=> Creating config file on first run"
|
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
|
fi
|
||||||
|
|
||||||
chown -R cloudron:cloudron /app/data
|
chown -R cloudron:cloudron /app/data
|
||||||
|
|
Loading…
Reference in a new issue