<div dir="ltr">I deploy on Fedora exclusively (not using the Fedora packages) and this is the service file I use.  It's different from the packaged version.<div><br></div><div><div><font face="monospace, monospace" size="1">[Unit]</font></div><div><font face="monospace, monospace" size="1">Description=Asterisk PBX and telephony daemon.</font></div><div><font face="monospace, monospace" size="1">Requires=network-online.target</font></div><div><font face="monospace, monospace" size="1">After=network-online.target</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">[Service]</font></div><div><font face="monospace, monospace" size="1">Type=forking</font></div><div><font face="monospace, monospace" size="1">PIDFile=/var/run/asterisk/asterisk.pid</font></div><div><font face="monospace, monospace" size="1">EnvironmentFile=-/etc/asterisk/asterisk.env</font></div><div><font face="monospace, monospace" size="1">WorkingDirectory=/var/lib/asterisk</font></div><div><font face="monospace, monospace" size="1">ExecStart=/usr/sbin/asterisk -U asterisk -G asterisk -C /etc/asterisk/asterisk.conf ${PROG_ARGS}</font></div><div><font face="monospace, monospace" size="1">KillMode=process</font></div><div><font face="monospace, monospace" size="1">TimeoutStopSec=5</font></div><div><font face="monospace, monospace" size="1">ExecStop=/usr/sbin/asterisk -rx 'core stop now'</font></div><div><font face="monospace, monospace" size="1">ExecReload=/usr/sbin/asterisk -rx 'core reload'</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">Nice=0</font></div><div><font face="monospace, monospace" size="1">UMask=0002</font></div><div><font face="monospace, monospace" size="1">LimitCORE=infinity</font></div><div><font face="monospace, monospace" size="1">LimitNOFILE=4096</font></div><div><font face="monospace, monospace" size="1">Restart=always</font></div><div><font face="monospace, monospace" size="1">RestartSec=4</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">PrivateTmp=false</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">[Install]</font></div><div><font face="monospace, monospace" size="1">WantedBy=multi-user.target</font></div></div><div><br></div><div><br></div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 7, 2015 at 1:34 AM, Ludovic Gasc <span dir="ltr"><<a href="mailto:gmludo@gmail.com" target="_blank">gmludo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I've some Asterisk 13 on production, it's a custom compilation + I've retrieved systemd configuration file from asterisk Debian package of unstable. </p>
<p dir="ltr">After a small adaptation, I've no issue like you, however, I use Debian Jessie.</p>
<p dir="ltr">Ludovic Gasc (GMLudo)<br>
<a href="http://www.gmludo.eu/" target="_blank">http://www.gmludo.eu/</a></p>
<div class="gmail_quote">On 30 Oct 2015 11:34, "Marek Červenka" <<a href="mailto:cervajs@fpf.slu.cz" target="_blank">cervajs@fpf.slu.cz</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
<br>
is there somebody using systemd start script on fedora/centos7 + asterisk 13 in production?<br>
i have strange problem with high cpu usage when asterisk is started via systemd<br>
<br>
thanks for feedback<br>
<br>
p.s. systemd script is not in vanilla asterisk. only in fedora package<br>
info <a href="https://reviewboard.asterisk.org/r/2730/" rel="noreferrer" target="_blank">https://reviewboard.asterisk.org/r/2730/</a><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
---------------------------------------<br>
Marek Cervenka<br>
=======================================<br>
<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>