~singpolyma/asterisk

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