1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=LIN demo configuration ConditionPathExists=/dev/ttyUSB0 [Service] Type=forking PIDFile=/run/lin_config/lin_config.pid ExecStart=/usr/bin/start_lin_demo.sh RemainAfterExit=yes [Install] WantedBy=multi-user.target