2013-10-03 22:41:25 +00:00
|
|
|
vpn-status: server.go
|
|
|
|
go build
|
|
|
|
deploy: vpn-status
|
|
|
|
strip vpn-status
|
2013-10-04 13:15:52 +00:00
|
|
|
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"
|
2013-10-03 22:41:25 +00:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -rf vpn-status $(OBJ)
|