1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=Display on-off via MQTT After=systemd-user-sessions.service [Service] Type=simple ExecStart=/home/shop/serial-barcode-scanner/src/display-on-off/display-on-off.sh Restart=always RestartSec=10 [Install] WantedBy=multi-user.target