bin/signal (view raw)
1 2 3 4 5 6 7 8 9 10
#!/bin/sh # signal: launch signal-desktop via a vm (vmm(4)) status="$(vmctl status 1 | grep running)" if [ "$status" == "" ]; then vmctl start pantwo sleep 10 fi ssh -Y pantwo signal-desktop &> /dev/null