mirror of
https://github.com/openziti/zrok.git
synced 2024-11-25 01:23:49 +01:00
this is a local tool for development environment maintenance
This commit is contained in:
parent
65ff0f4f23
commit
028ef8518b
@ -1,21 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# ctrl-01.zrok.io
|
|
||||||
ssh -i ~/.ssh/nf-zrok-ubuntu ctrl-01.dev.zrok.io sudo systemctl stop zrok-ctrl
|
|
||||||
scp -i ~/.ssh/nf-zrok-ubuntu ~/local/zrok/bin/zrok ctrl-01.dev.zrok.io:local/zrok/bin/zrok
|
|
||||||
ssh -i ~/.ssh/nf-zrok-ubuntu ctrl-01.dev.zrok.io sudo systemctl start zrok-ctrl
|
|
||||||
|
|
||||||
# ctrl-02.zrok.io
|
|
||||||
ssh -i ~/.ssh/nf-zrok-ubuntu ctrl-02.dev.zrok.io sudo systemctl stop zrok-ctrl
|
|
||||||
scp -i ~/.ssh/nf-zrok-ubuntu ~/local/zrok/bin/zrok ctrl-02.dev.zrok.io:local/zrok/bin/zrok
|
|
||||||
ssh -i ~/.ssh/nf-zrok-ubuntu ctrl-02.dev.zrok.io sudo systemctl start zrok-ctrl
|
|
||||||
|
|
||||||
# in-01.zrok.io
|
|
||||||
ssh -i ~/.ssh/nf-zrok-ubuntu in-01.dev.zrok.io sudo systemctl stop zrok-access-public
|
|
||||||
scp -i ~/.ssh/nf-zrok-ubuntu ~/local/zrok/bin/zrok in-01.dev.zrok.io:local/zrok/bin/zrok
|
|
||||||
ssh -i ~/.ssh/nf-zrok-ubuntu in-01.dev.zrok.io sudo systemctl start zrok-access-public
|
|
||||||
|
|
||||||
# in-02.zrok.io
|
|
||||||
ssh -i ~/.ssh/nf-zrok-ubuntu in-02.dev.zrok.io sudo systemctl stop zrok-access-public
|
|
||||||
scp -i ~/.ssh/nf-zrok-ubuntu ~/local/zrok/bin/zrok in-02.dev.zrok.io:local/zrok/bin/zrok
|
|
||||||
ssh -i ~/.ssh/nf-zrok-ubuntu in-02.dev.zrok.io sudo systemctl start zrok-access-public
|
|
Loading…
Reference in New Issue
Block a user