mirror of
https://github.com/Zygo/bees.git
synced 2025-05-18 05:45:45 +02:00
FIX: The systemd service file is always installed
This commit is contained in:
parent
faf11b1c0c
commit
aa324de9ed
2
Makefile
2
Makefile
@ -67,7 +67,7 @@ install_scripts: ## Install scipts
|
|||||||
install_scripts: scripts
|
install_scripts: scripts
|
||||||
install -Dm755 scripts/beesd $(DESTDIR)$(PREFIX)/sbin/beesd
|
install -Dm755 scripts/beesd $(DESTDIR)$(PREFIX)/sbin/beesd
|
||||||
install -Dm644 scripts/beesd.conf.sample $(DESTDIR)/$(ETC_PREFIX)/bees/beesd.conf.sample
|
install -Dm644 scripts/beesd.conf.sample $(DESTDIR)/$(ETC_PREFIX)/bees/beesd.conf.sample
|
||||||
ifneq (SYSTEMD_SYSTEM_UNIT_DIR,)
|
ifneq ($(SYSTEMD_SYSTEM_UNIT_DIR),)
|
||||||
install -Dm644 scripts/beesd@.service $(DESTDIR)$(SYSTEMD_SYSTEM_UNIT_DIR)/beesd@.service
|
install -Dm644 scripts/beesd@.service $(DESTDIR)$(SYSTEMD_SYSTEM_UNIT_DIR)/beesd@.service
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user