finalize reader service
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=NFC Reader Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=ezgg
|
||||
WorkingDirectory=/opt/nfc
|
||||
|
||||
ExecStart=/opt/nfc/venv/bin/python /opt/nfc/NfcReaderService.py
|
||||
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user