Skip to content

Instantly share code, notes, and snippets.

@karolyi
Last active February 6, 2022 10:57
Show Gist options
  • Save karolyi/6bfa16c8917b9ea9c4da37c42d743cbc to your computer and use it in GitHub Desktop.
Save karolyi/6bfa16c8917b9ea9c4da37c42d743cbc to your computer and use it in GitHub Desktop.
Start jackd properly
#!/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