From c8e73c5c12031f6bfff1bc5d33333124578ea61b Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 16 May 2022 14:30:44 +0200 Subject: Implement install of systemd files --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 57d274f..0ce76c2 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-70-g09d2