summaryrefslogtreecommitdiff
path: root/webiot/webiot.service
diff options
context:
space:
mode:
Diffstat (limited to 'webiot/webiot.service')
-rw-r--r--webiot/webiot.service11
1 files changed, 11 insertions, 0 deletions
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