Make start command work every time.
This commit is contained in:
parent
218f9ea595
commit
3717c2b844
3
Makefile
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user