Last active
February 6, 2022 10:57
-
-
Save karolyi/6bfa16c8917b9ea9c4da37c42d743cbc to your computer and use it in GitHub Desktop.
Start jackd properly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -x | |
killall -9 jackdbus | |
qjackctl & | |
sleep 2 | |
while true; | |
do | |
pasuspender -- bash -c 'sleep 2; timeout 5s jack_control start' && break | |
killall -9 jackdbus | |
sleep 1s | |
done | |
echo 'Jackd startup done, press enter' | |
read |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment