summaryrefslogtreecommitdiffstats
path: root/systemd/shopsystem-input-device.service
blob: 3fec26737c3ea6b13deb5e26a373879774791ff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Shop System Input Device Handler
BindsTo=dev-barcodescanner.device
Requires=dev-barcodescanner.device
After=dev-barcodescanner.device

[Service]
Type=dbus
BusName=io.mainframe.shopsystem.InputDevice
User=shop
Group=shop
Restart=always
RestartSec=10
ExecStart=/home/shop/serial-barcode-scanner/src/input-device/input-device
StandardInput=tty
StandardOutput=tty
TTYPath=/dev/tty3

[Install]
WantedBy=multi-user.target