summaryrefslogtreecommitdiffstats
path: root/recipes-core/udev/demo-i2c-udev-conf/hvac-json-in-rewrite@.service
blob: 2fb099593fd9f126a64a0bdfe5d9a67558eb5e63 (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=AGL hvac LED write /etc/hvac.json
#Before= todo: add dependency of hvac service ?

[Service]
Type=oneshot
ExecStartPre=/usr/bin/logger '#hvac i2c device has been attached - %i'
ExecStart=/usr/sbin/hvac-json-in-rewrite.sh %i
; id="@PROJECT_NAME@" version="@PROJECT_VERSION@"> <name>@PROJECT_NAME@</name> <icon src="icon.png"/> <content src="libs" type="application/vnd.agl.service"/> <description>This is a demo application used to control and dialog with HVAC system</description> <author>Romain Forlot &lt;romain.forlot@iot.bzh&gt;</author> <license>APL 2.0</license> </widget>