mirror of https://gerrit.hackerspace.pl/hscloud
laserproxy: document deployment
Change-Id: I4461b8c392f79781247605315b2e1b744bbb1acbchanges/59/359/6
parent
d15f928516
commit
96074a7859
|
@ -15,3 +15,14 @@ Only one user is allowed at a time - to implement this mutual exclusion, a Locke
|
|||
A lock is taken through a web interface by the user that wants to access the laser.
|
||||
|
||||
When a lock is taken, the Locker will notify a Proxy worker about this address. The Proxy will then perform the UDP proxying. As traffic is proxied, the Proxy will send bump updates to the Locker to extend the lock deadline.
|
||||
|
||||
Deployment
|
||||
----------
|
||||
|
||||
You'll need root access to customs.
|
||||
|
||||
bazel build --platforms=@io_bazel_rules_go//go/toolchain:openbsd_amd64 //hswaw/laserproxy
|
||||
ssh root@customs supervisorctl stop laserproxy
|
||||
scp bazel-bin/hswaw/laserproxy/laserproxy_/laserproxy root@customs:/var/laserproxy/laserproxy
|
||||
ssh root@customs supervisorctl start laserproxy
|
||||
|
||||
|
|
Loading…
Reference in New Issue