[Freeswitch-users] Starting FS on OSX

Ivan C Myrvold ivan at myrvold.org
Fri Jan 16 08:09:51 PST 2009


I haven't tried using launchctl for FreeSWITCH. But when I saw your  
post, I tried it out. I have no problem getting it to work:

I make a file "org.freeswitch.freeswitch.plist" and save it to ~/ 
Library/LaunchAgents with the following content:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd 
">
<plist version="1.0">
<dict>
	<key>KeepAlive</key>
	<true/>
	<key>Label</key>
	<string>org.freeswitch.freeswitch</string>
	<key>Program</key>
	<string>/usr/local/freeswitch/bin/freeswitch</string>
	<key>RunAtLoad</key>
	<true/>
	<key>ServiceIPC</key>
	<true/>
</dict>
</plist>

Then in Terminal.app, I do a "launchctl load ~/Library/LaunchAgents/ 
org.freeswitch.freeswitch.plist"

If you do the same command, but unload instead of load, it should stop  
freeswitch.

Does this work for you?

Ivan

Den 15. jan.. 2009 kl. 22:54 skrev Martin Joseph:

> Hello again FreeSwitchers,
>
> I have built the 1.02 on 10.4.11(OSX) and had no problems with that.
>
> I have never been able to build from the SVN, but that is another  
> story.
>
> Now that I have migrated to 1.02 I was wondering if I can get some
> help on a long standing issue I have with starting FS at boot.
>
> I am hoping to use Launchd which is the standard on OSX 10.4 and I
> attempted to cobble together a script, but haven't had great results.
>
> I did search for wiki entries on this, but haven't found any help with
> it.
>
> Ideas?
> Thanks,
> Marty
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>





More information about the FreeSWITCH-users mailing list