diff --git a/start.sh b/start.sh index f269987..a60e456 100755 --- a/start.sh +++ b/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