Advertisement
MezzFA0

jack_connect sample upstart script

Sep 13th, 2012
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. # jackconnect - jackconnect upstart script
  2.  
  3. #Upstart Config for jackconnect
  4. description "Runs jack connect to connect liquid soap output to the speakers"
  5. author "Wayne Merricks <waynemerricks@thevoiceasia.com>"
  6. setuid radio #Change to required username
  7.  
  8. # When to start the service
  9. start on started liquidsoap
  10.  
  11. pre-start script
  12.   sleep 5 #WAIT Test to see if somehow JACK
  13.   #isn't ready and is what is causing errors
  14. end script
  15.  
  16. # Start the process
  17. script
  18.   exec /usr/local/jackConnect.sh
  19. end script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement