summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--systemd/web_kbn.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/web_kbn.service b/systemd/web_kbn.service
new file mode 100644
index 0000000..71e7ff2
--- /dev/null
+++ b/systemd/web_kbn.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=web_kbn site
+After=web_kbn.service
+
+[Service]
+User=user
+Group=user
+Restart=on-failure
+ExecStart=/home/user/homekit/bin/web_kbn.py
+WorkingDirectory=/home/user
+
+[Install]
+WantedBy=multi-user.target