new domain in makefile
This commit is contained in:
parent
3638cb8632
commit
87247c3494
10
Makefile
10
Makefile
|
@ -3,8 +3,8 @@ test:
|
||||||
|
|
||||||
deploy-service: test
|
deploy-service: test
|
||||||
go build -o gte-daemon ./cmd/daemon/service.go
|
go build -o gte-daemon ./cmd/daemon/service.go
|
||||||
scp gte-daemon zerocontent.org:/home/erik/gte
|
scp gte-daemon ewintr.nl:/home/erik/gte
|
||||||
ssh zerocontent.org sudo /bin/chown gte:gte /home/erik/gte
|
ssh ewintr.nl sudo /bin/chown gte:gte /home/erik/gte
|
||||||
ssh zerocontent.org sudo /usr/sbin/service gte-daemon stop
|
ssh ewintr.nl sudo /usr/sbin/service gte-daemon stop
|
||||||
ssh zerocontent.org sudo /bin/mv /home/erik/gte /usr/local/bin/gte
|
ssh ewintr.nl sudo /bin/mv /home/erik/gte /usr/local/bin/gte
|
||||||
ssh zerocontent.org sudo /usr/sbin/service gte-daemon start
|
ssh ewintr.nl sudo /usr/sbin/service gte-daemon start
|
||||||
|
|
Loading…
Reference in New Issue