<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(32,18,77)"><p class="MsoNormal">John-</p><p class="MsoNormal"><br></p><p class="MsoNormal">you can add these to your file (see below): /etc/systemd/system/multi-user.target.wants/freeswitch.service</p><p class="MsoNormal"><br></p><p class="MsoNormal">a symlink is created to this at <span style="font-family:calibri,sans-serif;font-size:11pt">/usr/lib/systemd/system/freeswitch.service  when you enable the service with systemd (</span><span style="font-family:calibri,sans-serif;font-size:11pt">systemctl
enable freeswitch)</span></p><span style="font-size:11pt;line-height:107%;font-family:calibri,sans-serif"><br></span><p class="MsoNormal"><span></span></p><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal">[Unit]<span></span></p>

<p class="MsoNormal">Description=FreeSWITCH<span></span></p>

<p class="MsoNormal">Wants=network-online.target<span></span></p>

<p class="MsoNormal">After=syslog.target network.target network-online.target<span></span></p>

<p class="MsoNormal">After=mariadb.service httpd.service<span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal">[Service]<span></span></p>

<p class="MsoNormal">Type=forking<span></span></p>

<p class="MsoNormal">User=freeswitch<span></span></p>

<p class="MsoNormal">WorkingDirectory= /var/run/freeswitch<span></span></p>

<p class="MsoNormal">PIDFile=/var/run/freeswitch/freeswitch.pid<span></span></p>

<p class="MsoNormal">EnvironmentFile=-/etc/sysconfig/freeswitch<span></span></p>

<p class="MsoNormal">ExecStart=/usr/bin/freeswitch -ncwait -nonat
$FREESWITCH_PARAMS<span></span></p>

<p class="MsoNormal">ExecReload=/usr/bin/kill -HUP $MAINPID<span></span></p>

<p class="MsoNormal">LimitFSIZE= unlimited <span></span></p>

<p class="MsoNormal">LimitDATA= unlimited    <span></span></p>

<p class="MsoNormal">LimitSTACK= 245760<span></span></p>

<p class="MsoNormal">LimitCORE= unlimited    <span></span></p>

<p class="MsoNormal">LimitNOFILE=999999       <span></span></p>

<p class="MsoNormal">LimitAS= unlimited<span></span></p>

<p class="MsoNormal">LimitNPROC= unlimited<span></span></p>

<p class="MsoNormal">LimitMEMLOCK= unlimited<span></span></p>

<p class="MsoNormal">LimitLOCKS= unlimited  <span></span></p>

<p class="MsoNormal">LimitSIGPENDING= unlimited     <span></span></p>

<p class="MsoNormal">LimitMSGQUEUE= unlimited<span></span></p>

<p class="MsoNormal">[Install]<span></span></p>

<p class="MsoNormal">WantedBy=multi-user.target<span></span></p></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 9, 2017 at 7:57 AM, John Nash <span dir="ltr">&lt;<a href="mailto:john.nash778@gmail.com" target="_blank">john.nash778@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I installed freeswitch using yum commands as per given <a href="https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>CentOS+7+and+RHEL+7</a><div><br></div><div>All seems to be OK but I have two questions ..</div><div><br></div><div>1- I do not find ulimit settings in any startup file as recommend . I see files /etc/sysconfig/<wbr>freeswitch, /etc/systemd/<wbr>system/multi-user.target.<wbr>wants/freeswitch.service  am I supposed to create some kind of init script and mention ulimit settings there?</div><div><br></div><div>2- In my box I see lua version as Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio . Is higher version of lua recommended? Any memory related issue with 5.1.4 version?</div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><a name="UNIQUE_ID_SafeHtmlFilter__MailAutoSig"><span><font size="3" face="verdana, sans-serif">Tony
Bourdeaux</font></span></a></p><p style="margin:0in 0in 0pt"><a name="UNIQUE_ID_SafeHtmlFilter__MailAutoSig"><span><font face="verdana, sans-serif" size="1" color="#0000ff"><b>Intelecenter, LLC</b></font></span></a></p><font size="3" face="verdana, sans-serif">

</font><p style="margin:0in 0in 0pt"><span><span><font face="verdana, sans-serif" size="1">ph: 805-428-3031<span></span><span></span></font></span></span></p><font face="verdana, sans-serif" size="1">

</font><p style="margin:0in 0in 0pt"><span><span><font face="verdana, sans-serif" size="1">Skype: tony.bourdeaux</font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3"><font face="Calibri">
 
 
  
  
  
  
  
  
  
  
  
  
  
  
 
 
 
</font></font><font size="3"><font face="Calibri">
 
</font></font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3"><font face="Calibri">&quot;This message and any attachments are solely for the
intended recipient and may contain confidential or privileged information. If
you are not the intended recipient, any disclosure, copying, use, or
distribution of the information included in this message and any attachments is
prohibited. If you have received this communication in error, please notify me
by reply e-mail and immediately and permanently delete this message and any
attachments.&quot;</font></font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font></div></div>
</div></div>