Personally I like to launch FreeSWITCH via djb daemontools or runit. It keeps the service monitored, so in case of crash, it relaunches FS. -Yossi On 07/09/2013 11:44 AM, Jeff Leung wrote:
You can also use the debain init script just fine on an Ubuntu system...
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of sreekanth Sent: Tuesday, July 9, 2013 8:10 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] FreeSWITCH Start up Script - Ubuntu Server
just add "/usr/local/freeswitch/bin/freeswitch -nc" to /etc/rc/local before exit 0
My rc.local file looks like below #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. /usr/local/freeswitch/bin/freeswitch -nc exit 0 ------------ cheers !
http://askadmin.com http://sipcosystems.com
-- View this message in context: http://freeswitch- users.2379917.n2.nabble.com/FreeSWITCH-Start-up-Script-Ubuntu-Server- tp3723445p7592714.html Sent from the freeswitch-users mailing list archive at Nabble.com.
__________________________________________________________ _______________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org