Daemon

Command Line Arguments

The polypaudio daemon accepts several command line arguments:

-L MODULE: Load the specified module. This option may be specified more than once.

-F FILE: Run the specified script. This option may be specified more than once.

-C: Load the module module-cli after startup.

-D: Daemonize after successfully executing all scripts and loading all modules.

-f: Unless this option is given the daemon will terminate if any of the specified modules failed to load or the script didn't execute successfully.

-v: Increase the verbosity of the daemon.

-h: Show a quick help.

Example

It is a good idea to run the daemon like this:

polypaudio -D -F /etc/polypaudio/polypaudio.pa

/etc/polypaudio/polypaudio.pa should be a script written in the CLI language described in cli.html

Signals

The following signals are trapped specially:

SIGINT

The daemon is shut down cleanly.

SIGUSR1

The daemon tries to load the module module-cli, effectively providing a command line interface on the calling TTY.

SIGUSR2

The daemon tries to load the module module-cli-protocol-unix, effectively providing a command line interface on a special UNIX domain socket.


Lennart Poettering <@PACKAGE_BUGREPORT@>, July 2004
$Id$