Add service
This commit is contained in:
parent
7014eaadfa
commit
80fc25482c
1 changed files with 15 additions and 0 deletions
15
wetter.service
Normal file
15
wetter.service
Normal 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
|
Loading…
Reference in a new issue