From e249f35a8d202f43fbd6119f46486806db099c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 10 Dec 2019 00:06:44 +0100 Subject: [PATCH] fix missing genkey task in systemd bootnode makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- Makefile | 18 ++++++++++++------ _assets/systemd/bootnode/Makefile | 3 ++- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 3183dfafd..6b1e940e0 100644 --- a/Makefile +++ b/Makefile @@ -299,19 +299,25 @@ update-fleet-config: ##@other Update fleets configuration from fleets.status.im @echo "Done" run-bootnode-systemd: ##@Easy way to run a bootnode locally with Docker Compose - @cd _assets/systemd/bootnode/ && $(MAKE) + @cd _assets/systemd/bootnode && $(MAKE) run-bootnode-docker: ##@Easy way to run a bootnode locally with Docker Compose - @cd _assets/compose/bootnode/ && $(MAKE) + @cd _assets/compose/bootnode && $(MAKE) run-mailserver-systemd: ##@Easy Run a mailserver locally with systemd - @cd _assets/systemd/mailserver/ && $(MAKE) + @cd _assets/systemd/mailserver && $(MAKE) run-mailserver-docker: ##@Easy Run a mailserver locally with Docker Compose - @cd _assets/compose/mailserver/ && $(MAKE) + @cd _assets/compose/mailserver && $(MAKE) + +clean-bootnode-systemd: ##@Easy Clean your systemd service for running a bootnode + @cd _assets/systemd/bootnode && $(MAKE) clean + +clean-bootnode-docker: ##@Easy Clean your Docker container running a bootnode + @cd _assets/compose/bootnode && $(MAKE) clean clean-mailserver-systemd: ##@Easy Clean your systemd service for running a mailserver - @./_assets/systemd/clean.sh + @cd _assets/systemd/mailserver && $(MAKE) clean clean-mailserver-docker: ##@Easy Clean your Docker container running a mailserver - @cd _assets/compose/mailserver/ && $(MAKE) clean + @cd _assets/compose/mailserver && $(MAKE) clean diff --git a/_assets/systemd/bootnode/Makefile b/_assets/systemd/bootnode/Makefile index 5c96cff17..8936021ca 100644 --- a/_assets/systemd/bootnode/Makefile +++ b/_assets/systemd/bootnode/Makefile @@ -31,7 +31,7 @@ $(ENODE) endef export INFO_MSG -all: checks build save-address service enable restart info +all: checks build genkey save-address service enable restart info clean: stop disable rm-service forget @@ -100,6 +100,7 @@ build: $(GIT_ROOT)/build/bin/bootnode .PHONY: build $(SERVICE_DIR): + echo $(SERVICE_DIR) @mkdir -p $(SERVICE_DIR) service: $(SERVICE_DIR)