mirror of
https://github.com/hassio-addons/addon-prometheus.git
synced 2025-05-04 11:11:24 +00:00
Update prometheus.sh
Add chown prometheus:prometheus /data/prometheus
This commit is contained in:
parent
5dc22bc440
commit
fed840dac1
1 changed files with 1 additions and 0 deletions
|
@ -6,5 +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
|
||||||
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 {} \;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue