From 8cf49d3d4c3dc942afa0c72b7788789471f5087c Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Mon, 19 Feb 2024 03:51:29 +0300 Subject: systemd: add web_kbn unit --- systemd/web_kbn.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 systemd/web_kbn.service (limited to 'systemd') 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 -- cgit v1.2.3