diff --git a/.forgejo/workflows/deploy-rs.yml b/.forgejo/workflows/deploy-rs.yml index 5d69be0d..c30133ec 100644 --- a/.forgejo/workflows/deploy-rs.yml +++ b/.forgejo/workflows/deploy-rs.yml @@ -90,8 +90,10 @@ jobs: ssh osaka-linode-01 'sudo systemctl restart podman-derp' ssh frankfurt-linode-01 'sudo systemctl restart podman-derp' ssh milan-linode-01 'sudo systemctl restart podman-derp' + ssh -qA warsaw-ovh-01 'sudo systemctl restart container@rdesktop' + ssh -qA framework-server 'sudo systemctl restart container@rdesktop' sleep 30 - deploy + deploy -sd " - name: "nixos-version (Post)" diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index 3f3aa6f1..5046da7a 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -50,6 +50,24 @@ git pull docker compose up -d $argv popd + ''; + # Deploy-RS script + deploy-rs = '' + pushd /etc/nixos/git/ + echo -en "Restarting DERP Relays.... " + echo -en "Osaka" + ssh -qA osaka-linode-01 "sudo systemctl restart podman-derp" + echo -en ", Frankfurt" + ssh -qA frankfurt-linode-01 "sudo systemctl restart podman-derp" + echo -en ", Milan" + ssh -qA milan-linode-01 "sudo systemctl restart podman-derp" + echo -e "... Done" + echo -en "Restarting rdesktop containers.... " + ssh -qA warsaw-ovh-01 "sudo systemctl restart container@rdesktop" + ssh -qA framework-server "sudo systemctl restart container@rdesktop" + echo -e "... Done" + deploy -s + popd ''; # Build ISOs/SD Card Images nixos-build-all-images = ''