[Freeswitch-users] Improving freeswitch init script for fedora/centos/redhat/amazon-linux

Jun Sun jsun at junsun.net
Tue Nov 10 03:36:58 MSK 2015


Just did!

On Mon, Nov 9, 2015 at 12:04 AM, Giovanni Maruzzelli <gmaruzz at gmail.com>
wrote:

> Ciao Jun,
>
> Thank you for reporting this possible improvement, but unfortunately we
> cannot keep track of it from mails, it will be lost. Please, be so kind to
> fill a improvement/feature request here: http://jira.freeswitch.org
>
>
> On Mon, Nov 9, 2015 at 2:46 AM, Jun Sun <jsun at junsun.net> wrote:
>
>> I'm porting freeswitch to amazon linux running on an EC2 instance.  And I
>> have installed the following fedora init script to automatically start/stop
>> freeswitch.
>>
>> https://wiki.freeswitch.org/wiki/Freeswitch_init
>>
>> However I notice that this script does not work reliably.  Specifically
>> restart does not always do the job.
>>
>> I looked in and did some experiments.  It appears "freeswitch -stop" does
>> not kill the daemon reliably. It is especially so when freeswitch is just
>> starting.
>>
>> So I add some code to do the killing more persistently.  I also added
>> "status" command. It is tested on amazon linux.  I'm sure it will work on
>> fedora and centos.  Hopefully it can be of help to others in the similar
>> suite.
>>
>> Jun
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>
>
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> Cell : +39-347-2665618
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151109/b4a675e4/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list