mirror of
https://git.cloudron.io/cloudron/prometheus-server-app.git
synced 2024-12-28 18:10:31 +00:00
Do cp with cloudron user
This commit is contained in:
parent
ac09ae832e
commit
a34afd8b5a
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
|
||||
echo "=> Creating config file on first run"
|
||||
cp /app/code/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
|
||||
|
|
Loading…
Reference in a new issue