6
0
Fork 0

Commit forgotten patch to prometheus-yoctotemp-exporter

This commit is contained in:
Timothée Floure 2021-03-27 07:36:36 +01:00
parent 7af78934f0
commit e22c50a5b2
Signed by: tfloure
GPG key ID: 4502C902C00A1E12

View file

@ -4,6 +4,7 @@ VCS_TAG=$(cat "$__object/parameter/version")
VCS_URL="https://code.recycled.cloud/RecycledCloud/prometheus-yoctotemp-exporter/raw/tag/$VCS_TAG/prometheus-yoctotemp-exporter"
cat << EOF
if [ ! -d /opt/prometheus-yoctotemp-exporter ]; then
cd /opt/prometheus-yoctotemp-exporter
# Fetch sources.
@ -17,4 +18,5 @@ pip install yoctopuce
# Start service
service prometheus-yoctotemp-exporter start
fi
EOF