summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/sllin/files/sllin-demo.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/sllin/files/sllin-demo.service')
-rw-r--r--recipes-kernel/sllin/files/sllin-demo.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-kernel/sllin/files/sllin-demo.service b/recipes-kernel/sllin/files/sllin-demo.service
index 7eb6cfac4..2f2f5ac23 100644
--- a/recipes-kernel/sllin/files/sllin-demo.service
+++ b/recipes-kernel/sllin/files/sllin-demo.service
@@ -1,13 +1,13 @@
[Unit]
-Description = LIN DEMO startup
+Description=LIN demo configuration
+ConditionPathExists=/dev/ttyUSB0
After=afm-system-daemon.service
[Service]
Type=forking
-PIDFile=/var/run/lin_ldattach
+PIDFile=/var/run/lin_config.pid
ExecStart=/usr/bin/start_lin_demo.sh
RemainAfterExit=yes
-
[Install]
WantedBy=multi-user.target