Added draft systemd service

This commit is contained in:
Andrew Brooks 2018-01-25 21:23:39 -06:00
parent 1cac8c8da5
commit be3cb8adcd
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[Unit]
Description=Podbay barcode service
After=network.target, tinc.target
Wants=network.target
[Service]
Type=simple
RemainAfterExit=yes
ExecStart=/usr/local/bin/barcode_service -d "usb-Wasp_k2_Wasp_Bar_Code_USBi-event-kbd" -e "tcp://127.0.0.1:5000"
[Install]
WantedBy=multi-user.target