From 80fc25482c233154903fd12566eb25f4658b1cae Mon Sep 17 00:00:00 2001 From: Asaril Date: Sat, 20 Mar 2021 21:22:41 +0100 Subject: [PATCH] Add service --- wetter.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 wetter.service 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