Skip to content

Commit

Permalink
Add install patch from Brian Reichert
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgear committed May 9, 2024
1 parent 3e170bb commit 91a9a4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ install:
install -m 0644 src/*.py $(DESTDIR)/$(PREFIX)/$(SHAREDIR)/
chmod 0755 $(DESTDIR)/$(PREFIX)/$(SHAREDIR)/*ntpmon.py
cd $(DESTDIR)/$(PREFIX)/$(BINDIR); \
ln -s ../$(SHAREDIR)/ntpmon.py $(NAME); \
ln -s ../$(SHAREDIR)/check_ntpmon.py check_$(NAME)
ln -sf ../$(SHAREDIR)/ntpmon.py $(NAME); \
ln -sf ../$(SHAREDIR)/check_ntpmon.py check_$(NAME)
BINDIR=$(PREFIX)/$(BINDIR) CONFDIR=$(CONFDIR) GROUP=$(GROUP) NAME=$(NAME) USER=$(USER) python3 \
src/jinja2_render.py src/ntpmon.service > $(DESTDIR)/$(SYSTEMD_SERVICE_DIR)/$(NAME).service
BINDIR=$(PREFIX)/$(BINDIR) CONFDIR=$(CONFDIR) GROUP=$(GROUP) NAME=$(NAME) USER=$(USER) python3 \
Expand Down

0 comments on commit 91a9a4d

Please sign in to comment.