diff --git a/Makefile b/Makefile index 49f397b..177bb03 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ install_scripts: ## Install scipts install_scripts: scripts install -Dm755 scripts/beesd $(DESTDIR)$(PREFIX)/sbin/beesd 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 endif