mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
centos: rework CentOS spec files
* break out modules * conform to FHS * support CentOS v5
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
# chkconfig: 345 89 14
|
||||
# description: Starts and stops the freeswitch server daemon
|
||||
# processname: freeswitch
|
||||
# config: /opt/freeswitch/conf/freeswitch.conf
|
||||
# pidfile: /opt/freeswitch/run/freeswitch.pid
|
||||
# config: /usr/local/freeswitch/conf/freeswitch.conf
|
||||
# pidfile: /usr/local/freeswitch/run/freeswitch.pid
|
||||
#
|
||||
|
||||
# Source function library.
|
||||
@@ -17,13 +17,13 @@
|
||||
PROG_NAME=freeswitch
|
||||
PID_FILE=${PID_FILE-/var/run/freeswitch/freeswitch.pid}
|
||||
FS_USER=${FS_USER-freeswitch}
|
||||
FS_FILE=${FS_FILE-/opt/freeswitch/bin/freeswitch}
|
||||
FS_HOME=${FS_HOME-/opt/freeswitch}
|
||||
FS_FILE=${FS_FILE-/usr/freeswitch}
|
||||
FS_HOME=${FS_HOME-/var/run/freeswitch}
|
||||
LOCK_FILE=/var/lock/subsys/freeswitch
|
||||
FREESWITCH_ARGS="-nc"
|
||||
RETVAL=0
|
||||
|
||||
# Source options file
|
||||
# Source usr/localions file
|
||||
if [ -f /etc/sysconfig/freeswitch ]; then
|
||||
. /etc/sysconfig/freeswitch
|
||||
fi
|
||||
|
Reference in New Issue
Block a user