]> code.delx.au - pulseaudio/blob - doc/daemon.html.in
remove most -W compiler warnings
[pulseaudio] / doc / daemon.html.in
1 <?xml version="1.0" encoding="iso-8859-1"?> <!-- -*-html-helper-*- -->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>polypaudio: Daemon</title>
6 <link rel="stylesheet" type="text/css" href="style.css" />
7 </head>
8
9 <body>
10 <h1>Daemon</h1>
11
12 <h2>Command Line Arguments</h2>
13
14 The <tt>polypaudio</tt> daemon accepts several command line arguments:
15
16 <p><tt>-L MODULE</tt>: Load the specified module. This option may be specified more than once.</p>
17 <p><tt>-F FILE</tt>: Run the specified script. This option may be specified more than once.</p>
18 <p><tt>-C</tt>: Load the module <a href="modules.html#module-cli"><tt>module-cli</tt></a> after startup.</p>
19 <p><tt>-D</tt>: Daemonize after successfully executing all scripts and loading all modules.</p>
20 <p><tt>-f</tt>: 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.</p>
21 <p><tt>-v</tt>: Increase the verbosity of the daemon.</p>
22 <p><tt>-h</tt>: Show a quick help.</p>
23
24 <h3>Example</h3>
25
26 <p>It is a good idea to run the daemon like this:</p>
27
28 <pre>polypaudio -D -F /etc/polypaudio/polypaudio.pa</pre>
29
30 <p><tt>/etc/polypaudio/polypaudio.pa</tt> should be a script written in the CLI language described in <a href="cli.html">cli.html</a>
31
32 <h2>Signals</h2>
33
34 <p>The following signals are trapped specially:</p>
35
36 <h3>SIGINT</h3>
37
38 <p>The daemon is shut down cleanly.</p>
39
40 <h3>SIGUSR1</h3>
41
42 <p>The daemon tries to load the module <a href="modules.html#module-cli"><tt>module-cli</tt></a>, effectively providing a command line interface on the calling TTY.</p>
43
44 <h3>SIGUSR2</h3>
45
46 <p>The daemon tries to load the module <a href="modules.html#module-cli-protocol-unix"><tt>module-cli-protocol-unix</tt></a>, effectively providing a command line interface on a special UNIX domain socket.</p>
47
48 <hr/>
49 <address class="grey">Lennart Poettering &lt;@PACKAGE_BUGREPORT@&gt;, July 2004</address>
50 <div class="grey"><i>$Id$</i></div>
51 </body> </html>