mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-02 23:30:56 +02:00
Update 90-run.sh
This commit is contained in:
@@ -8,8 +8,9 @@
|
|||||||
if bashio::config.true "expose_collector"; then
|
if bashio::config.true "expose_collector"; then
|
||||||
bashio::log.info "collector.yaml exposed in /share/scrutiny. It will only be accessible if the addon is running"
|
bashio::log.info "collector.yaml exposed in /share/scrutiny. It will only be accessible if the addon is running"
|
||||||
mkdir -p /share/scrutiny
|
mkdir -p /share/scrutiny
|
||||||
cp -rnf /opt/scrutiny/config/collector.yaml /share/scrutiny/collector.yaml
|
cp -rnf /opt/scrutiny/config /share/scrutiny
|
||||||
ln -s /share/scrutiny/collector.yaml /opt/scrutiny/config
|
rm -R /opt/scrutiny/config
|
||||||
|
ln -s /share/scrutiny /opt/scrutiny/config
|
||||||
chmod 777 -R /share/scrutiny
|
chmod 777 -R /share/scrutiny
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user