<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If you have a working one, please get a pull request to us so we can review the changes.<div class=""><br class=""></div><div class="">Thanks</div><div class="">Mike</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 1, 2015, at 1:40 PM, Vik Killa &lt;<a href="mailto:vipkilla@gmail.com" class="">vipkilla@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello,<div class="">I modified the path variables in the systemd init file.&nbsp;</div><div class="">My file looks like this:<br class=""><br class=""><div class="">;;;;; Author: Travis Cross &lt;<a href="mailto:tc@traviscross.com" class="">tc@traviscross.com</a>&gt;</div><div class=""><br class=""></div><div class="">[Unit]</div><div class="">Description=freeswitch</div><div class="">After=syslog.target network.target local-fs.target</div><div class=""><br class=""></div><div class="">[Service]</div><div class="">; service</div><div class="">Type=forking</div><div class="">PIDFile=/usr/local/freeswitch/run/freeswitch.pid</div><div class="">PermissionsStartOnly=true</div><div class="">ExecStartPre=/bin/mkdir -p /usr/local/freeswitch/run</div><div class="">ExecStartPre=/bin/chown freeswitch:freeswitch /usr/local/freeswitch/run</div><div class="">ExecStart=/usr/bin/freeswitch -ncwait -nonat</div><div class="">TimeoutSec=45s</div><div class="">Restart=always</div><div class="">; exec</div><div class="">WorkingDirectory=/usr/local/freeswitch/run</div><div class="">User=freeswitch</div><div class="">Group=freeswitch</div><div class="">LimitCORE=infinity</div><div class="">LimitNOFILE=100000</div><div class="">LimitNPROC=60000</div><div class="">;LimitSTACK=240</div><div class="">LimitRTPRIO=infinity</div><div class="">LimitRTTIME=7000000</div><div class="">IOSchedulingClass=realtime</div><div class="">IOSchedulingPriority=2</div><div class="">CPUSchedulingPolicy=rr</div><div class="">CPUSchedulingPriority=89</div><div class="">UMask=0007</div><div class=""><br class=""></div><div class="">[Install]</div><div class="">WantedBy=multi-user.target</div><div class=""><br class=""></div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, May 1, 2015 at 12:50 PM, Joseph Dickson <span dir="ltr" class="">&lt;<a href="mailto:jdickson@evolvetsi.com" target="_blank" class="">jdickson@evolvetsi.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Happy Friday!<div class=""><br class=""></div><div class="">I'm having trouble using latest release systemd unit file on Debian Jessie..&nbsp; It looks like the unit file is the same in master, so I imagine the issue exists there too..</div><div class=""><br class=""></div><div class="">On my system (fresh Debian 8 install), I get the following failure when trying to start using the included unit file:<br class=""></div><div class=""><br class=""></div><div class=""><div class="">May 01 12:48:22 XXX systemd[9119]: Failed at step CHDIR spawning /bin/mkdir: No such file or directory</div><div class=""><br class=""></div><div class=""><div class="">I'm new to systemd, but it looks like the problem is that the WorkingDirectory is set to /run/freeswitch.&nbsp; Trouble is that /run/freeswitch is created in an ExecStartPre statement.&nbsp; That's the best explanation I have for the CHDIR failure that systemd is complaining about.</div><div class=""><br class=""></div><div class="">It looks like the only way to get /run/freeswitch created soon enough to be used as a WorkingDirectory is the tmpfiles.d mechanism that systemd has.&nbsp; Am I on the right track, or am I missing an obvious solution?</div><div class=""><br class=""></div><div class="">Thanks!</div><span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div></font></span></div><span class="HOEnZb"><font color="#888888" class=""><div class=""><div class=""><div dir="ltr" class=""><div align="left" class=""><font face="Arial" class="">Joseph Dickson</font></div><div align="left" class=""><font face="Arial" class=""><a href="mailto:jdickson@evolvetsi.com" target="_blank" class="">jdickson@evolvetsi.com</a></font></div><div align="left" class=""><font face="Arial" class=""><br class=""></font></div></div></div></div>
</font></span></div></div>
<br class="">_________________________________________________________________________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" target="_blank" class="">http://confluence.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>