diff options
author | xengineering <me@xengineering.eu> | 2022-05-15 15:46:37 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-05-15 15:46:37 +0200 |
commit | 01224764112e3586544fb6868e0ba14b03a328c7 (patch) | |
tree | f0379954374294e5b1ff5847a7d76ff1547431e4 | |
parent | b0f70f5498ae967bcf18b968b995398d1b03b04f (diff) | |
download | webiot-01224764112e3586544fb6868e0ba14b03a328c7.tar webiot-01224764112e3586544fb6868e0ba14b03a328c7.tar.zst webiot-01224764112e3586544fb6868e0ba14b03a328c7.zip |
Add systemd files
-rw-r--r-- | systemd/webiot.service | 13 | ||||
-rw-r--r-- | systemd/webiot.sysusers | 1 |
2 files changed, 14 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 + diff --git a/systemd/webiot.sysusers b/systemd/webiot.sysusers new file mode 100644 index 0000000..4948bb1 --- /dev/null +++ b/systemd/webiot.sysusers @@ -0,0 +1 @@ +u webiot - "webiot daemon user" - /bin/bash |