FreeSWITCH doesn't create the lock file, the init script does.  FS puts the pid file in /usr/local/freeswitch/run if you install from source. 




On Mon, Feb 10, 2014 at 11:19 AM, Joli Martinez <mrjoli021@gmail.com> wrote:
Hello,

I am trying to create an init script for CentOS 6.5.  Freeswitch runs fine from "/usr/local/freeswitch/bin/freeswitch".  When I attempt to fix the redhat script to my install it doesnt start.  I found the problem to be the lock file.  My freeswitch install doesnt seem to put the lock file in "/var/lock/subsys/freeswitch".  I cant seem to find where it puts it by default.  I have done a grep and cant find it anywhere.

I installed freeswitch by compliling it I am running 1.2.18+git~20140122T234636Z~454a288ec6~64bit (git 454a288 2014-01-22 23:46:36Z 64bit.  I have not changed any of the default setting when I installed FS.

Where is the lock file located?

Thanks


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org