From 3717c2b844a59df1b60146c46e7f6717ac1a55be Mon Sep 17 00:00:00 2001 From: Chris GIACOFEI Date: Wed, 5 Jun 2024 11:57:41 -0400 Subject: [PATCH] Make start command work every time. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6ff5d79..2a1a392 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,8 @@ pull: git pull origin master .PHONY: start -start: $(VENV)/.start ## Restart gunicorn +start: ## Restart gunicorn + sudo systemctl restart gunicorn.service gunicorn.socket .PHONY: update update: pull $(VENV)/.install $(VENV)/.migrate $(VENV)/.start ## Pull latest from remote and restart