install_prereq: Add SUSE.
[asterisk/asterisk.git] / contrib / init.d / org.asterisk.asterisk.plist
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 <plist version="1.0">
4 <dict>
5         <key>Label</key>
6         <string>org.asterisk.asterisk</string>
7         <key>Disabled</key>
8         <false/><!-- Change this to '<true/>' to disable Asterisk -->
9         <key>UserName</key>
10         <string>asterisk</string>
11         <key>GroupName</key>
12         <string>asterisk</string>
13         <key>OnDemand</key><!-- For 10.4 (deprecated in 10.5 and above) -->
14         <false/>
15         <key>KeepAlive</key><!-- For 10.5 and above -->
16         <true/>
17         <key>RunAtLoad</key>
18         <true/>
19         <key>Umask</key>
20         <integer>7</integer><!-- 0007 -->
21         <key>Program</key>
22         <string>__ASTERISK_SBIN_DIR__/asterisk</string>
23         <key>ProgramArguments</key>
24         <array>
25                 <string>__ASTERISK_SBIN_DIR__/asterisk</string>
26                 <string>-f</string><!-- Don't fork.  This option is mandatory when running with launchd. -->
27         </array>
28         <key>EnvironmentVariables</key>
29         <dict>
30                 <key>TERM</key>
31                 <string>xterm-color</string>
32         </dict>
33         <key>SoftResourceLimits</key>
34         <dict>
35                 <key>NumberOfFiles</key>
36                 <integer>1024</integer>
37                 <key>Core</key>
38                 <integer>0</integer>
39         </dict>
40         <key>StandardInPath</key>
41         <string>/dev/null</string>
42         <key>StandardOutPath</key>
43         <string>/dev/null</string>
44         <key>StandardErrorPath</key>
45         <string>/dev/null</string>
46 </dict>
47 </plist>