diff options
author | xengineering <me@xengineering.eu> | 2023-03-27 19:37:43 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-03-27 19:37:43 +0200 |
commit | e601eba8b204b101f9f0115b0b1201ef1a3a0635 (patch) | |
tree | 339507ddedf465078e58fee5225461576226abc9 | |
parent | eb86fbf4c88647bcc6aaa86660da58df96a72850 (diff) | |
download | webiot-e601eba8b204b101f9f0115b0b1201ef1a3a0635.tar webiot-e601eba8b204b101f9f0115b0b1201ef1a3a0635.tar.zst webiot-e601eba8b204b101f9f0115b0b1201ef1a3a0635.zip |
Remove systemd-specific code
This source is targeted at all Linux-based operating systems. Since they
are not all based on systemd the removed code should be re-introduced in
packaging repositories for specific distributions.
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | systemd/webiot.service | 13 | ||||
-rw-r--r-- | systemd/webiot.sysusers | 1 |
3 files changed, 0 insertions, 19 deletions
@@ -1,5 +1,3 @@ -# vim: shiftwidth=4 tabstop=4 noexpandtab - DESTDIR="" # leave empty for the current system or provide a fakeroot here PREFIX="/usr" PROGRAM="webiot" @@ -20,9 +18,6 @@ install: all install -Dm 644 config.json $(DESTDIR)/etc/$(PROGRAM)/config.json install -Dm 644 appdata/index.html.tmpl $(DESTDIR)$(PREFIX)/share/$(PROGRAM)/index.html.tmpl install -Dm 644 appdata/simple.css $(DESTDIR)$(PREFIX)/share/$(PROGRAM)/simple.css - install -Dm 644 systemd/$(PROGRAM).service $(DESTDIR)$(PREFIX)/lib/systemd/system/$(PROGRAM).service - install -Dm 644 systemd/$(PROGRAM).sysusers $(DESTDIR)$(PREFIX)/lib/sysusers.d/$(PROGRAM).conf debug: go run *.go -c config.json -a appdata - diff --git a/systemd/webiot.service b/systemd/webiot.service deleted file mode 100644 index 68f2186..0000000 --- a/systemd/webiot.service +++ /dev/null @@ -1,13 +0,0 @@ - -[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 deleted file mode 100644 index 966fed9..0000000 --- a/systemd/webiot.sysusers +++ /dev/null @@ -1 +0,0 @@ -u webiot - "webiot daemon user" |