[Freeswitch-users] problems using systemd freeswitch unit

covici at ccs.covici.com covici at ccs.covici.com
Mon May 4 12:52:04 MSD 2015


But that was not my problem at all, it was in the ExecStart of
freeswitch  that I had the problem, and the solution was not to allow it
to background, but I was wondering if anyone had gotten things to work
without  adding the -nf parameter.
I also had to change it to Type=simple instead of forking.  I also have
my run directory as /var/run, so that problem is solved that way.


Stanislav Sinyagin <ssinyagin at gmail.com> wrote:

> see this thread from few days ago:
> http://lists.freeswitch.org/pipermail/freeswitch-users/2015-May/112841.html
> 
> 
> 
> On Mon, May 4, 2015 at 6:14 AM,  <covici at ccs.covici.com> wrote:
> > Hi.  In the freeswitch tree
> > freeswitch-new/debian/freeswitch-systemd.freeswitch.service was there
> > and I tried to get it to work in my systemd.  The problem seems to be
> > that systemd is getting very confused when fs backgrounds the process.
> > I got things to work by adding -nf and changing the type from forking to
> > simple, so fs never backgrounds.
> >
> > My question is, has anyone gotten the original systemd unit to work and
> > if so, what did you do?  The only things I changed was the directories
> > and I added some ExecStartPre commands that I needed.
> >
> > Thanks in advance for any ideas.
> >
> > --
> > Your life is like a penny.  You're going to lose it.  The question is:
> > How do
> > you spend it?
> >
> >          John Covici
> >          covici at ccs.covici.com
> >
> > _________________________________________________________________________
> > 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
> 
> _________________________________________________________________________
> 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

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



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