Added service file. Improvements to the readme.

This commit is contained in:
nahuel committed 2022-12-18 18:53:22 +00:00
1 parent 2f5001e70f
commit ab079ff3a1
2 files changed
+58 -4

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
[Unit]
Description=Dublin Bus display
After=network.target time-sync.target
[Service]
Type=simple
WorkingDirectory=/home/pi/dublinbus-display
ExecStart=/home/pi/dublinbus-display/main.py
ExecStop=/bin/kill $MAINPID
KillSignal=SIGKILL
Restart=always
[Install]
WantedBy=default.target