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