Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # liquidsoap - liquidsoap upstart script
- #Upstart Config for liquidsoap
- description "Starts liquidsoap as the specified user"
- author "Wayne Merricks <waynemerricks@thevoiceasia.com>"
- env USER=radio #Change me as required
- env LIQSCRIPT=/usr/local/liveradio.liq #Don't put this in /home
- # When to start the service
- start on started jackd
- # When to stop the service
- stop on stopping jackd
- # Automatically restart process if crashed
- respawn
- pre-start script
- sleep 5
- end script
- # Start the process
- script
- exec start-stop-daemon --start --chuid $USER --exec /usr/bin/liquidsoap -- --verbose $LIQSCRIPT
- end script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement