Add service

This commit is contained in:
Asaril 2021-03-20 21:22:41 +01:00
parent 7014eaadfa
commit 80fc25482c

15
wetter.service Normal file
View file

@ -0,0 +1,15 @@
[Unit]
Description=Wetterstation
Wants=network.target
Before=network.target
[Service]
Type=simple
PIDFile=/run/wetter.pid
ExecStart=/home/pi/wetter/gui/fb_gui.py
WorkingDirectory=/home/pi/wetter/gui
User=pi
Group=pi
[Install]
WantedBy=multi-user.target