Hello

For those of you running FS on CentOS (5.4) who compiled FS from SVN, I'd
like to make sure I'm doing it right to have FS start automatically at
boot-time:

1. cp /usr/src/freeswitch/build/freeswitch.init.redhat
/etc/init.d/freeswitch
2. vi /etc/init.d/freeswitch:
    
    PID_FILE=${PID_FILE-/usr/local/freeswitch/log/freeswitch.pid}
    FS_FILE=${FS_FILE-/usr/local/freeswitch/bin/freeswitch}
    FS_HOME=${FS_HOME-/usr/local/freeswitch}
     
3. chmod 755 /etc/init.d/freeswitch
4. chkconfig --level 345 freeswitch on
5. chkconfig --list freeswitch
6. (why needed in addition to chkconfig?) ln -s /etc/init.d/freeswitch
/usr/sbin/rcfreeswitch

To manually start the server:
Launch the server through the rc.d script: /etc/init.d/freeswitch start

Is the above correct?

Thank you.
-- 
View this message in context: 
http://old.nabble.com/Right-way-to-start-FS-on-CentOS-at-boot-time--tp26272066p26272066.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to