Done
This commit is contained in:
15
kiosk.service
Normal file
15
kiosk.service
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Nexio kiosk video player
|
||||||
|
After=multi-user.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
WorkingDirectory=/root/python
|
||||||
|
ExecStart=/usr/bin/python3 /root/python/display_test_nexio.py
|
||||||
|
Restart=always
|
||||||
|
RestartSec=3
|
||||||
|
# Unbuffered output so logs show up live in journalctl
|
||||||
|
Environment=PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user