[Freeswitch-users] freeswitch systemd unit file for debian?

tilt tilt at temp3r.com
Tue May 12 23:28:16 MSD 2015


Thanks Joseph, this seems to be working for me!

On 05/12/2015 11:58 AM, covici at ccs.covici.com wrote:
> [Unit]
> >Description=freeswitch
> >After=syslog.target network.target local-fs.target
> >
> >[Service]
> >; service
> >Type=forking
> >RuntimeDirectory=freeswitch
> >PIDFile=/run/freeswitch/freeswitch.pid
> >PermissionsStartOnly=true
> >ExecStart=/usr/bin/freeswitch -ncwait -nonat -run /run/freeswitch
> >TimeoutSec=45s
> >Restart=always
> >; exec
> >WorkingDirectory=/run/freeswitch
> >User=freeswitch
> >Group=daemon
> >LimitCORE=infinity
> >LimitNOFILE=100000
> >LimitNPROC=60000
> >;LimitSTACK=240
> >LimitRTPRIO=infinity
> >LimitRTTIME=7000000
> >IOSchedulingClass=realtime
> >IOSchedulingPriority=2
> >CPUSchedulingPolicy=rr
> >CPUSchedulingPriority=89
> >UMask=0007
> >
> >[Install]
> >WantedBy=multi-user.target
> >




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