Screen runs it under a terminal, while -nc actually backgrounds it as a daemon (just like apachemysql sshd etc). Both'll get it running but I'd prefer it as a daemon personally. The -nc option lets you start it from an init.d (there are examples in the git repository) script - so you can have it start on startup and have a tool like monit monitor and restart it if it crashes for any reason. There's no reason you'd need to run it under screen (or its alternatives) anyway. There are several modules for logging to a logfile (mod_logfile mod_syslog), and mod_event_socket + fs_cli (or other ESL clients) lets you connect to a running process to control or monitor it, and with the /log command view the log entries at any time. I've also seen screen sessions crash occasionally which has a chance of taking freeswitch out... -Steve On 4 June 2013 09:42, Alex Lake <alex@digitalmail.com> wrote:
What's the difference between running freeswitch using the Linux "screen" command compared to running it with the -nc flag? They seem to achieve similar goals. Obviously, you can't re-attach to the -nc version, but are there any intrinsic advantages of one over the other?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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