<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>
<div>Not sure if systemd start and stop scripts work on Fedora, but the work nicely on Debian. I copied the ones from:</div><div><br></div><div>https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/7144556</div><div><br></div><div>Also I think the wiki site for Freeswitch is old. Confluence site is newer. </div><div><br></div><div id="composer_signature"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">Robert</div><br><br>-------- Original message --------<br>From: Jun Sun <jsun@junsun.net> <br>Date: 11/08/2015 8:46 PM (GMT-05:00) <br>To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <br>Subject: [Freeswitch-users] Improving freeswitch init script for        fedora/centos/redhat/amazon-linux <br><br><div dir="ltr">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.<div><br></div><div><a href="https://wiki.freeswitch.org/wiki/Freeswitch_init">https://wiki.freeswitch.org/wiki/Freeswitch_init</a><br></div><div><br></div><div>However I notice that this script does not work reliably. Specifically restart does not always do the job.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Jun</div><div><br></div></div>
</body></html>