Reply To: Startup from Command line possible?

#14422
Anonymous
Inactive

rpedde,

I am indeed running the server ported to the iPhone – sorry I wasn’t clear on that earlier.

Here’s the terminal read-out (including -x info):

Usage: mt-daapd [options]

Options:
-a Set cwd to app dir before starting
-d Debuglevel (0-9)
-D Debug modules
-m Disable mDNS
-c Use configfile specified
-P Write the PID to specified file
-f Run in foreground
-y Yes, go ahead and run as non-root user
-b ffid to be broadcast
-V Display version information
-k Kill a running daemon (based on pidfile)
-x Receive listening socket from (x)inetd
-n Perform the initial scan and terminate

Valid debug modules:
config,webserver,database,scan,query,index,browse
playlist,art,daap,main,rend,misc

—-

The whole plist shows sockets, but how to define?

Disabled

Label
org.fireflymediaserver.mt-daapd
Nice
19
OnDemand

ProgramArguments

/sbin/mt-daapd
-f
-x
-c
/etc/mt-daapd.conf

RunAtLoad

ServiceDescription
Streams music to iTunes and other DAAP clients
Sockets

Listeners

Bonjour

SockServiceName
daap

StandardErrorPath
/dev/null
StandardOutPath
/dev/null
inetdCompatibility

Wait

—-

Is there a way to load the server and run & kill a single process that would enable & disable sharing? mt-daapd only seems to run when music is actually streaming. What process is used to signal iTunes in the first place?

Thanks for your help,

Greg