Update prometheus.sh

This commit is contained in:
Nathan Ellsworth 2022-07-20 02:32:55 -05:00 committed by GitHub
parent fed840dac1
commit 703506d30f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,6 @@
echo "${SUPERVISOR_TOKEN}" > '/run/home-assistant.token' echo "${SUPERVISOR_TOKEN}" > '/run/home-assistant.token'
mkdir -p /data/prometheus mkdir -p /data/prometheus
chown prometheus:prometheus /data/prometheus chown -R prometheus:prometheus /data/prometheus
find /data/prometheus -not -perm 0644 -type f -exec chmod 0660 {} \; find /data/prometheus -not -perm 0644 -type f -exec chmod 0660 {} \;
find /data/prometheus -not -perm 0755 -type d -exec chmod 0770 {} \; find /data/prometheus -not -perm 0755 -type d -exec chmod 0770 {} \;