Added systemd generators for tellus

This commit is contained in:
PD0ZRY Rudy 2017-03-11 22:33:00 +01:00
parent fea8c89343
commit 2cb0dd36d3
4 changed files with 57 additions and 3 deletions

View file

@ -44,10 +44,12 @@ install:
install -o root -g root tellusagent $(PREFIX)
install -o root -g root tellusagent.sh $(PREFIX)
install -o root -g root tellusagent.conf $(PREFIX)
install -D -d $(DESTDIR)/lib/systemd/system/
ifeq ($(OS), Linux)
# install -o root -g root tellusagent-init $(PREFIX)
# install -m 644 -o root -g root tellusagent-monit $(PREFIX)
# install -m 644 -o root -g root tellusagent.service $(PREFIX)
install -o root -g root systemd/tellusagent.service $(DESTDIR)/lib/systemd/system/
install -o root -g root systemd/tellusagent\@.service $(DESTDIR)/lib/systemd/system/
install -D -d $(DESTDIR)/lib/systemd/system-generators/
install -o root -g root systemd/tellusagent-generator $(DESTDIR)/lib/systemd/system-generators/
endif
ifeq ($(OS), Darwin)
# install -m 644 -o root -g root tellusagent.plist $(DESTDIR)/Library/LaunchDaemons