~whereswaldon/sprout-go

09437b079f144c272f09048dd6513eb4a7e2c4d2 — Chris Waldon 7 months ago 8231858
ci/cd: automatically restart arbor.chat relay
1 files changed, 1 insertions(+), 1 deletions(-)

M .builds/arch.yml
M .builds/arch.yml => .builds/arch.yml +1 -1
@@ 30,5 30,5 @@ tasks:
      go build
      ssh-keyscan arbor.chat >> ~/.ssh/known_hosts
      scp -i ~/.ssh/409bbfeb-afb8-4f22-bd08-54fd4cf748d5 relay chris@arbor.chat:/usr/local/bin/relay-new
      ssh -i ~/.ssh/409bbfeb-afb8-4f22-bd08-54fd4cf748d5 chris@arbor.chat -- "mv /usr/local/bin/relay{,-old}; mv /usr/local/bin/relay{-new,}"
      ssh -i ~/.ssh/409bbfeb-afb8-4f22-bd08-54fd4cf748d5 chris@arbor.chat -- "mv /usr/local/bin/relay{,-old}; mv /usr/local/bin/relay{-new,}; sudo systemctl restart arbor-relay-firejail.service"