aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/can-lin/files/hvac-demo.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo-hmi/can-lin/files/hvac-demo.service')
-rw-r--r--recipes-demo-hmi/can-lin/files/hvac-demo.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-demo-hmi/can-lin/files/hvac-demo.service b/recipes-demo-hmi/can-lin/files/hvac-demo.service
new file mode 100644
index 00000000..7173f9bf
--- /dev/null
+++ b/recipes-demo-hmi/can-lin/files/hvac-demo.service
@@ -0,0 +1,12 @@
+[Unit]
+Description = HVAC DEMO hardware startup
+After=WindowManager.service
+
+[Service]
+Type=simple
+ExecStartPre=-/sbin/ip link add dev vcan0 type vcan
+ExecStartPre=-/sbin/ifconfig vcan0 up
+ExecStart=/usr/bin/openvt -e /usr/bin/OptoLyzerMoccaApp
+
+[Install]
+WantedBy=default.target