#!/bin/bash set -eu echo "=> Starting apache" APACHE_CONFDIR="" source /etc/apache2/envvars rm -f "${APACHE_PID_FILE}" /usr/sbin/apache2 -DFOREGROUND & echo "=> Starting Prometheus" cd /usr/local/bin/prometheus exec /usr/local/bin/gosu cloudron:cloudron ./prometheus --config.file=/app/data/config/prometheus.yml --storage.tsdb.path=/app/data/runtime