summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0285cf7..d397bf4 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,12 @@ install:
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
+prod: build
+ make stop
+ cp gowebd /usr/bin/gowebd
+ make start
+ make log
+
log:
@#systemctl status gowebd.service
journalctl -f -xeu gowebd.service