diff options
author | xengineering <me@xengineering.eu> | 2022-05-16 14:30:44 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-05-16 14:30:44 +0200 |
commit | c8e73c5c12031f6bfff1bc5d33333124578ea61b (patch) | |
tree | 6d0ec1e3f1536194987c3a3e312b12b39b665372 | |
parent | 8f16d578c7f103dbf891d43901c1d08442e9efe6 (diff) | |
download | webiot-c8e73c5c12031f6bfff1bc5d33333124578ea61b.tar webiot-c8e73c5c12031f6bfff1bc5d33333124578ea61b.tar.zst webiot-c8e73c5c12031f6bfff1bc5d33333124578ea61b.zip |
Implement install of systemd files
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,8 @@ install: all install -Dm 755 build/$(PROGRAM) $(DESTDIR)$(PREFIX)/bin/$(PROGRAM) mkdir -p $(DESTDIR)/etc/$(PROGRAM) install -Dm 644 config.json $(DESTDIR)/etc/$(PROGRAM)/ + 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).sysusers debug: go run main.go hs100.go -c private/config.json |