From a5990ff1f3069a43571c8b4909aa08446b197780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 4 Oct 2013 15:15:52 +0200 Subject: [PATCH] Makefile: restart application after deploy --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2e305e0..d5e0bb1 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,9 @@ vpn-status: server.go go build deploy: 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 clean: rm -rf vpn-status $(OBJ) -