Makefile: restart application after deploy
This commit is contained in:
parent
f4eebef8a9
commit
a5990ff1f3
4
Makefile
4
Makefile
@ -2,9 +2,9 @@ vpn-status: server.go
|
|||||||
go build
|
go build
|
||||||
deploy: vpn-status
|
deploy: vpn-status
|
||||||
strip vpn-status
|
strip vpn-status
|
||||||
rsync -avcz -e ssh nodes.json html assets vpn-status higgsboson.tk:/home/joerg/vpn-status
|
rsync -avcz -e ssh nodes.json html assets vpn-status deploy@higgsboson.tk:/srv/http/vpn-status
|
||||||
|
ssh -t -t -t higgsboson.tk "sudo systemctl restart vpn-status"
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf vpn-status $(OBJ)
|
rm -rf vpn-status $(OBJ)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user