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