add systemd service

(untested, but should work)
This commit is contained in:
quanten 2019-12-14 18:08:48 +01:00
parent f793c543ea
commit 5844863e98

View file

@ -0,0 +1,12 @@
[Unit]
Description=Space Status Python Script
Wants=network-online.target
After=network-online.target
[Service]
WorkingDirectory=/home/pi/PathToDoorStatusFolder/
ExecStart=python3 main.py
[Install]
WantedBy=multi-user.target