Make start command work every time.

This commit is contained in:
Chris GIACOFEI 2024-06-05 11:57:41 -04:00
parent 218f9ea595
commit 3717c2b844

View File

@ -37,7 +37,8 @@ pull:
git pull origin master git pull origin master
.PHONY: start .PHONY: start
start: $(VENV)/.start ## Restart gunicorn start: ## Restart gunicorn
sudo systemctl restart gunicorn.service gunicorn.socket
.PHONY: update .PHONY: update
update: pull $(VENV)/.install $(VENV)/.migrate $(VENV)/.start ## Pull latest from remote and restart update: pull $(VENV)/.install $(VENV)/.migrate $(VENV)/.start ## Pull latest from remote and restart