summaryrefslogtreecommitdiffstats
path: root/systemd/shopsystem-display-on-off.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/shopsystem-display-on-off.service')
-rw-r--r--systemd/shopsystem-display-on-off.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd/shopsystem-display-on-off.service b/systemd/shopsystem-display-on-off.service
new file mode 100644
index 0000000..dfa6f0c
--- /dev/null
+++ b/systemd/shopsystem-display-on-off.service
@@ -0,0 +1,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