mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Merged revisions 252361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r252361 | tilghman | 2010-03-14 20:33:50 -0500 (Sun, 14 Mar 2010) | 4 lines Launch Asterisk on Mac OS X with launchd. Reviewboard: https://reviewboard.asterisk.org/r/551/ ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@252362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										47
									
								
								contrib/init.d/org.asterisk.asterisk.plist
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								contrib/init.d/org.asterisk.asterisk.plist
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,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.launchagent</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>432</integer><!-- 0660 --> | ||||
| 	<key>Program</key> | ||||
| 	<string>/usr/local/sbin/asterisk</string> | ||||
| 	<key>ProgramArguments</key> | ||||
| 	<array> | ||||
| 		<string>/usr/local/sbin/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> | ||||
		Reference in New Issue
	
	Block a user