[Freeswitch-users] Freeswitch on system startup on Fedora 16
Josue Diaz Cruz
jdiaz at coinfru.com
Tue Dec 13 18:53:32 MSK 2011
Try to do this:
1) First of all check this file:
nano /etc/init.d/freeswitch
2) if the file does not apears, do this from the freeswitch source folder (
/usr/src/freeswitch/):
cd build
cp freeswitch.init.redhat /etc/init.d/freeswitch
3) if the file apears check if these sentences are written like these:
PID_FILE=${PID_FILE-/opt/freeswitch/run/freeswitch.pid}
FS_FILE=${FS_FILE-/opt/freeswitch/bin/freeswitch}
FS_HOME=${FS_HOME-/opt/freeswitch}
FREESWITCH_ARGS="-nc"
4) Change it to these:
PID_FILE=${PID_FILE-/usr/local/freeswitch/run/freeswitch.pid}
FS_FILE=${FS_FILE-/usr/local/freeswitch/bin/freeswitch}
FS_HOME=${FS_HOME-/usr/local/freeswitch}
FREESWITCH_ARGS="-nc"
5) save and then
cd /etc/init.d/
chmod +x freeswitch
chkconfig --add freeswitch
adduser freeswitch
6) normally works
Josue Diaz Cruz
Departamento Tecnico y Soporte
jdiaz at coinfru.com
T 650 694 338 Cl Balsicas 3
Alquerias | 30580 | Murcia
www.coinfru.com
-----Mensaje original-----
De: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de
curriegrad2004
Enviado el: Tuesday, December 13, 2011 16:29
Para: FreeSWITCH Users Help
Asunto: Re: [Freeswitch-users] Freeswitch on system startup on Fedora 16
Have you tried to execute FreeSWITCH as normal under Fedora 16?
On Mon, Dec 12, 2011 at 11:49 AM, T T <quiet.ordinary.man at gmail.com> wrote:
> Hi,
>
> SELinux isn't the cause. Setting it to 'permissive' doesn't make it
> work after reboot.
>
> T.
>
> On Mon, Dec 12, 2011 at 3:24 PM, Patrick Lists
> <freeswitch-list at puzzled.xs4all.nl> wrote:
>> On 11-12-11 11:54, T T wrote:
>>> Hi,
>>>
>>> I've installed FreeSWITCH on Fedora 16. I want FreeSWITCH to be
>>> launched at system startup.
>>>
>>> I've put a bash script from
>>> http://wiki.freeswitch.org/wiki/Freeswitch_init#Fedora
>>>
>>> into /etc/init.d directory with corrected paths, and run #chckconfig
>>> freeswitch on
>>>
>>> FreeSWITCH doesnt start at system startup.
>>
>> If you have SELinux enabled, did you make sure that the init script
>> has the proper SELinux context?
>>
>> Regards,
>> Patrick
>>
>> _____________________________________________________________________
>> ____ Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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-us
>> ers
>> http://www.freeswitch.org
>
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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-use
> rs
> http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list