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