addon-prometheus/prometheus/rootfs/etc/cont-init.d/prometheus.sh
Franck Nijhof 5158849871
Bunch of tweaks (#1)
* 🚑 Fix GitLab CI to have the right base images

* ✏️ Docs cleanup

* 👕 Dockerfile tweaks

* 🔥 Remove unused variable from proemetheus init

* 👕 Prettier on JSON & YAML files

* 👕 Other minor styling

* 🔥 Removal of disabled shellcheck rule

* 👕 Fix shellcheck linter warning

* ✏️ Small tweak to Python code

* 🔨 Reduce resulting image with 68Mb
2020-07-26 20:47:36 +02:00

6 lines
316 B
Bash

#!/usr/bin/with-contenv bashio
# ==============================================================================
# Home Assistant Community Add-on: Prometheus
# Configures Prometheus
# ==============================================================================
echo "${HASSIO_TOKEN}" > '/run/home-assistant.token'