diff --git a/wetter.service b/wetter.service new file mode 100644 index 0000000..680c435 --- /dev/null +++ b/wetter.service @@ -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