From 70ae67877828bc17352dd8ae0f6fe02643ba990e Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 17 Sep 2020 12:02:22 +0200 Subject: Implement Installation with Make --- picontrol.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 picontrol.service (limited to 'picontrol.service') diff --git a/picontrol.service b/picontrol.service new file mode 100644 index 0000000..37641cc --- /dev/null +++ b/picontrol.service @@ -0,0 +1,13 @@ + +[Unit] +Description=Web Server to shutdown and poweroff the Pi using python-waitress +After=network.target + +[Service] +User=picontrol +Group=picontrol +WorkingDirectory=/usr/share/eu.xengineering.picontrol/ +ExecStart=/usr/bin/python3 /usr/share/eu.xengineering.picontrol/main.py + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-70-g09d2