mirror of
https://github.com/aljazceru/khatru.git
synced 2026-01-04 05:54:24 +01:00
turn relayer into a server framework and put actual relay code into ./basic
This commit is contained in:
7
basic/Makefile
Normal file
7
basic/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
relayer: $(shell find . -name "*.go")
|
||||
go build -ldflags="-s -w" -o ./relayer
|
||||
|
||||
deploy: relayer
|
||||
ssh root@turgot 'systemctl stop relayer'
|
||||
scp relayer turgot:relayer/relayer
|
||||
ssh root@turgot 'systemctl start relayer'
|
||||
Reference in New Issue
Block a user