Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] [CentOS] Modifying init script?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
codecomplete at free.fr
Guest





PostPosted: Tue Apr 21, 2009 3:22 am    Post subject: [Freeswitch-users] [CentOS] Modifying init script? Reply with quote

Hello

I'm installing Freeswitch on a CentOS 5.3 test host. I noticed that the
freeswitch.init.redhat contains paths that don't match a stock CentOS
install.

All files are currently installed/owned by root: Should I go ahead, create a
"freeswitch" user/group, and chown everything under /usr/local/freeswitch/,
or are there issues if some files aren't owned by root?

Here's the original file, and mine:

===== ORIG /usr/src/freeswitch/build/freeswitch.init.redhat =============
PROG_NAME=freeswitch
PID_FILE=${PID_FILE-/opt/freeswitch/log/freeswitch.pid}
FS_USER=${FS_USER-freeswitch}
FS_FILE=${FS_FILE-/opt/freeswitch/bin/freeswitch}
FS_HOME=${FS_HOME-/opt/freeswitch}
LOCK_FILE=/var/lock/subsys/freeswitch
FREESWITCH_ARGS="-nc"
RETVAL=0
===== My /etc/init.d/freeswitch =============
PROG_NAME=freeswitch
PID_FILE=${PID_FILE-/usr/local/freeswitch/log/freeswitch.pid}
#All files installed/owned by root: Should I go ahead and create a
freeswitch user anyway?
FS_USER=${FS_USER-freeswitch}
FS_FILE=${FS_FILE-/usr/local/freeswitch/bin/freeswitch}
FS_HOME=${FS_HOME-/usr/local/freeswitch}
LOCK_FILE=/var/lock/subsys/freeswitch
FREESWITCH_ARGS="-nc"
RETVAL=0
======================================

Thank you.
--
View this message in context: http://www.nabble.com/-CentOS--Modifying-init-script--tp23151057p23151057.html
Sent from the Freeswitch-users mailing list archive at Nabble.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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services