Added systemd generators for tellus
This commit is contained in:
parent
fea8c89343
commit
2cb0dd36d3
4 changed files with 57 additions and 3 deletions
8
Makefile
8
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue