summaryrefslogtreecommitdiffstats
path: root/data/systemd/shopsystem-input-device.service.in
blob: d3433181adbbb40840ef4fd35375cf21543b21bd (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=@PATH@/shop-input-device
StandardInput=tty
StandardOutput=tty
TTYPath=/dev/tty3

[Install]
WantedBy=multi-user.target