Rather than having a startup script (somewhat inappropriately) read a
config file, shouldn't jackd implement a /etc/jackd.conf itself? Running
from the command line would be a cinch too then.
Of course, a /var/log/jack.log and/or syslog facility would be nice too
;)
I've just started setting up a demudi box and if I can stop my machine
from hanging, I'll do it myself - it'll give me a good excuse to start
browsing the source.
Darren
On Mon, 2003-04-21 at 12:54, Jack O'Quin wrote:
Nick Tsocanos <nicktsocanos(a)charter.net>
writes:
How can I make Jackd always run? Right now I have
to set it up in a
console window. I'd like to learn how to run it always at startup and
not have to start/stop it when I need it.
I don't think many people are doing it this way at the moment. But,
with realtime support and capabilities, it's just about at the point
where you might want to. Most current users of JACK are developers or
early adopters, who run it in an xterm or console window for debugging
reasons.
The best solution is probably to write an /etc/init.d/jackd script
with the usual start, stop, restart parameters. This would be
automatically invoked when changing runlevel using whatever mechanism
your distribution provides. The arguments to jackd would need to be
stored in come kind of config file that would be accessible to the
script.
I've thought about writing one, but haven't done it. If you do,
please post it to the jackit-devel list. Although it would be
somewhat distribution-specific, it would be helpful to distribute, at
least as an example.
Also how do you use Jack in real-time mode? In
order to run it I have to
be root, but if I run it as root, nobody else can see Jack unless they
are also root.
See
http://jackit.sourceforge.net/docs/faq.php#a5
I wish somebody would write a Jack-HOWTO so
dummies like me can figure
out how to run this thing.
See
http://www.djcj.org/LAU/jack/
HTH,
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________