initscript 260 B

123456789101112
  1. # Set umask to safe level:
  2. umask 022
  3. # Disable core dumps:
  4. ulimit -c 0
  5. # Allow unlimited size to be locked into memory:
  6. ulimit -l unlimited
  7. # Address issue of jackd failing to start with realtime scheduling:
  8. ulimit -r 65
  9. # Execute the program.
  10. eval exec "$4"