Changeset 21965 for packages


Ignore:
Timestamp:
2010-06-27T15:36:27+02:00 (6 years ago)
Author:
cshore
Message:

net/freeswitch: Change -upstream-defaults and -minimal to use mod_syslog instead of mod_console for logging, and start in daemon mode not foreground

Location:
packages/net/freeswitch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/freeswitch/Makefile

    r21964 r21965  
    165165                +freeswitch-mod-commands \ 
    166166                +freeswitch-mod-conference \ 
    167                 +freeswitch-mod-console \ 
     167                +freeswitch-mod-syslog \ 
    168168                +freeswitch-mod-curl \ 
    169169                +freeswitch-mod-dialplan-xml \ 
     
    194194  DEPENDS:= freeswitch \ 
    195195                +freeswitch-mod-commands \ 
    196                 +freeswitch-mod-console \ 
     196                +freeswitch-mod-syslog \ 
    197197                +freeswitch-mod-dialplan-xml \ 
    198198                +freeswitch-mod-dptools \ 
     
    350350                LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \ 
    351351                all $(MAKE_INSTALL_TARGETS) 
     352        $(SED) 's|^\([:blank:]*\)\(.*\)"mod_console"\(.*\)$$$$|\1<!-- \2"mod_console"\3 -->|' $(PKG_INSTALL_DIR)/etc/freeswitch/autoload_configs/modules.conf.xml 
     353        $(SED) 's|^\([:blank:]*\)<!-- \(.*\)"mod_syslog"\(.*\) -->\(.*\)$$$$|\1\2"mod_syslog"\3\4 -->|' $(PKG_INSTALL_DIR)/etc/freeswitch/autoload_configs/modules.conf.xml 
    352354endef 
    353355 
  • packages/net/freeswitch/files/freeswitch.init

    r21964 r21965  
    1616        mkdir -p $FS_DIR_LOG 
    1717        ulimit -s 240 
    18         $FS_DIR/usr/bin/freeswitch $OPTIONS -c & 
     18        $FS_DIR/usr/bin/freeswitch $OPTIONS -nc 
    1919} 
    2020 
     
    3636        start 
    3737} 
     38 
Note: See TracChangeset for help on using the changeset viewer.