You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/06/11 03:39:36 UTC

[GitHub] [incubator-apisix] KevinHoo commented on a change in pull request #1692: fix bug: Execute command 'make run' multiple times, will start multiple processes

KevinHoo commented on a change in pull request #1692:
URL: https://github.com/apache/incubator-apisix/pull/1692#discussion_r438524943



##########
File path: Makefile
##########
@@ -79,9 +79,13 @@ init: default
 ### run:              Start the apisix server
 .PHONY: run
 run: default
+ifeq ("$(wildcard logs/nginx.pid)", "")
 	mkdir -p logs
 	mkdir -p /tmp/apisix_cores/
 	$(OR_EXEC) -p $$PWD/ -c $$PWD/conf/nginx.conf
+else
+	@echo "Moat is running..."

Review comment:
       是的,我修改一下




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org