From 5a090912f99ee3d8e9eb6a4235227f410a5f719f Mon Sep 17 00:00:00 2001 From: Benjamin Braatz Date: Wed, 13 Jan 2021 06:11:17 +0100 Subject: [PATCH] JS-Client and systemd unit added --- controlpi.service | 10 ++++++ web/index.html | 90 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 controlpi.service create mode 100644 web/index.html diff --git a/controlpi.service b/controlpi.service new file mode 100644 index 0000000..0ecd8de --- /dev/null +++ b/controlpi.service @@ -0,0 +1,10 @@ +[Unit] +Description=Control Pi Service + +[Service] +WorkingDirectory=/home/pi +Environment=PYTHONUNBUFFERED=1 +ExecStart=/home/pi/controlpi/bin/python -m graphit_controlpi.main conf.json web/ + +[Install] +WantedBy=multi-user.target diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..ab135ba --- /dev/null +++ b/web/index.html @@ -0,0 +1,90 @@ + + + + + ControlPi + + + + +

ControlPi

+ + -- 2.34.1