mirror of
https://github.com/hassio-addons/addon-prometheus.git
synced 2025-05-05 03:31:25 +00:00
👕 Fix shellcheck linter warning
This commit is contained in:
parent
fc5651a223
commit
348f8c2ec7
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,8 @@ if [[ ! -d /share/promethus/targets ]] ; then
|
||||||
chown -R prometheus:prometheus /share/prometheus/targets
|
chown -R prometheus:prometheus /share/prometheus/targets
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd /opt/prometheus-configgen
|
cd /opt/prometheus-configgen || bashio::exit.nok \
|
||||||
|
"Could not change working directory for prometheus-configgen."
|
||||||
|
|
||||||
# Run Prometheus
|
# Run Prometheus
|
||||||
exec s6-setuidgid prometheus python3 combiner
|
exec s6-setuidgid prometheus python3 combiner
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue