summaryrefslogtreecommitdiff
path: root/systemd/web_kbn.service
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-02-19 03:51:29 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-02-19 03:51:29 +0300
commit8cf49d3d4c3dc942afa0c72b7788789471f5087c (patch)
tree01f9e6ace69e0bf74ae8cebf0a5347727bf41f9b /systemd/web_kbn.service
parent840cbe4729ac8960c0dc0d23aca0405335f9ecb4 (diff)
systemd: add web_kbn unit
Diffstat (limited to 'systemd/web_kbn.service')
-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