summaryrefslogtreecommitdiff
path: root/systemd/webiot.service
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-05-15 15:46:37 +0200
committerxengineering <me@xengineering.eu>2022-05-15 15:46:37 +0200
commit01224764112e3586544fb6868e0ba14b03a328c7 (patch)
treef0379954374294e5b1ff5847a7d76ff1547431e4 /systemd/webiot.service
parentb0f70f5498ae967bcf18b968b995398d1b03b04f (diff)
downloadwebiot-01224764112e3586544fb6868e0ba14b03a328c7.tar
webiot-01224764112e3586544fb6868e0ba14b03a328c7.tar.zst
webiot-01224764112e3586544fb6868e0ba14b03a328c7.zip
Add systemd files
Diffstat (limited to 'systemd/webiot.service')
-rw-r--r--systemd/webiot.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/webiot.service b/systemd/webiot.service
new file mode 100644
index 0000000..68f2186
--- /dev/null
+++ b/systemd/webiot.service
@@ -0,0 +1,13 @@
+
+[Unit]
+Description=An IoT webserver
+After=network.target
+
+[Service]
+User=webiot
+Group=webiot
+ExecStart=/usr/bin/webiot
+
+[Install]
+WantedBy=multi-user.target
+