VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
pablosaro at gmail.com Guest
|
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Tue Feb 17, 2009 10:12 am Post subject: [Freeswitch-users] Options for configure script |
|
|
You can specify those as runtime argument.
$ ./freeswitch -h
these are the optional arguments you can pass to freeswitch
-nf -- no forking
-u [user] -- specify user to switch to
-g [group] -- specify group to switch to
-help -- this message
-core -- dump cores
-hp -- enable high priority settings
-vg -- run under valgrind
-nosql -- disable internal sql scoreboard
-stop -- stop freeswitch
-nc -- do not output to a console and background
-c -- output to a console and stay in the foreground
-conf [confdir] -- specify an alternate config dir
-log [logdir] -- specify an alternate log dir
-db [dbdir] -- specify an alternate db dir
-mod [moddir] -- specify an alternate mod dir
-htdocs [htdocsdir] -- specify an alternate htdocs dir
-scripts [scriptsdir] -- specify an alternate scripts dir
But in my opinion, you should keep all files at the same place and make a symbolic link if you really want stuf to be accessible from /var/log
Mathieu |
|
Back to top |
|
|
pablosaro at gmail.com Guest
|
Posted: Tue Feb 17, 2009 12:00 pm Post subject: [Freeswitch-users] Options for configure script |
|
|
Thanks Mathieu.
So, it is not possible to set this at build time by passing a
parameter to the configure script...
IMHO, a symbolic link is not a good idea in production environments.
BR
Pablo
On Tue, Feb 17, 2009 at 1:05 PM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
Quote: | You can specify those as runtime argument.
$ ./freeswitch -h
these are the optional arguments you can pass to freeswitch
-nf -- no forking
-u [user] -- specify user to switch to
-g [group] -- specify group to switch to
-help -- this message
-core -- dump cores
-hp -- enable high priority settings
-vg -- run under valgrind
-nosql -- disable internal sql scoreboard
-stop -- stop freeswitch
-nc -- do not output to a console and background
-c -- output to a console and stay in the foreground
-conf [confdir] -- specify an alternate config dir
-log [logdir] -- specify an alternate log dir
-db [dbdir] -- specify an alternate db dir
-mod [moddir] -- specify an alternate mod dir
-htdocs [htdocsdir] -- specify an alternate htdocs dir
-scripts [scriptsdir] -- specify an alternate scripts dir
But in my opinion, you should keep all files at the same place and make a
symbolic link if you really want stuf to be accessible from /var/log
Mathieu
_______________________________________________
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
|
_______________________________________________
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 |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Feb 17, 2009 12:40 pm Post subject: [Freeswitch-users] Options for configure script |
|
|
On Tue, Feb 17, 2009 at 8:54 AM, Pablo Hernan Saro <pablosaro@gmail.com> wrote:
Quote: | Thanks Mathieu.
So, it is not possible to set this at build time by passing a
parameter to the configure script...
IMHO, a symbolic link is not a good idea in production environments.
BR
|
You can also specify these in the config files. You can put the logs
and/or CDR files wherever you'd like. If you open up
conf/autoload_configs/logfile.conf.xml you'll see that there is a line
commented out - this line will let you choose the default log file
path. In fact, I think you'll approve of the location already
specified on that line.
-MC
_______________________________________________
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 |
|
|
pablosaro at gmail.com Guest
|
Posted: Tue Feb 17, 2009 1:00 pm Post subject: [Freeswitch-users] Options for configure script |
|
|
Hi Michael,
Thank you very much for your help. It meets my needs.
I was thinking in something like:
./configure --prefix=/opt/freeswitch --localstatedir=/var/log/freeswitch
But I can get same results changing the default configuration of
conf/autoload_configs/logfile.conf.xml and
conf/autoload_configs/xml_cdr.conf.xml.
Regards,
Pablo
On Tue, Feb 17, 2009 at 3:34 PM, Michael Collins <msc@freeswitch.org> wrote:
Quote: | On Tue, Feb 17, 2009 at 8:54 AM, Pablo Hernan Saro <pablosaro@gmail.com> wrote:
Quote: | Thanks Mathieu.
So, it is not possible to set this at build time by passing a
parameter to the configure script...
IMHO, a symbolic link is not a good idea in production environments.
BR
|
You can also specify these in the config files. You can put the logs
and/or CDR files wherever you'd like. If you open up
conf/autoload_configs/logfile.conf.xml you'll see that there is a line
commented out - this line will let you choose the default log file
path. In fact, I think you'll approve of the location already
specified on that line.
-MC
_______________________________________________
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
|
_______________________________________________
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 |
|
|
mike at jerris.com Guest
|
Posted: Tue Feb 17, 2009 1:26 pm Post subject: [Freeswitch-users] Options for configure script |
|
|
We don't yet support localstatedir configure option. I expect we will
soon.
Mike
On Feb 17, 2009, at 12:59 PM, Pablo Hernan Saro wrote:
Quote: | Hi Michael,
Thank you very much for your help. It meets my needs.
I was thinking in something like:
./configure --prefix=/opt/freeswitch --localstatedir=/var/log/
freeswitch
But I can get same results changing the default configuration of
conf/autoload_configs/logfile.conf.xml and
conf/autoload_configs/xml_cdr.conf.xml.
Regards,
Pablo
|
_______________________________________________
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 |
|
|
|
|
|
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
|