From 15ed599559b43ecd9942f3f4b97c072d5c97a025 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 18 Aug 2024 20:18:56 +0200 Subject: webiot: Add systemd unit and system user --- webiot/webiot.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 webiot/webiot.service (limited to 'webiot/webiot.service') diff --git a/webiot/webiot.service b/webiot/webiot.service new file mode 100644 index 0000000..f331d60 --- /dev/null +++ b/webiot/webiot.service @@ -0,0 +1,11 @@ +[Unit] +Description=IoT server with web interface +After=network.target + +[Service] +User=webiot +Group=webiot +ExecStart=/usr/bin/webiot -c /etc/webiot/config.json + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-70-g09d2