From: Anthony Minessale Date: Tue, 1 Jul 2008 22:30:28 +0000 (+0000) Subject: add USR1 as alias for hup X-Git-Tag: v1.0.1~286 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34215ce00fb95ea6230a28aabeb94cd0c52e8587;p=thirdparty%2Ffreeswitch.git add USR1 as alias for hup git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8879 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core.c b/src/switch_core.c index c487d12e84..7a1c4f09af 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -1094,6 +1094,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t #endif signal(SIGHUP, handle_SIGHUP); + signal(SIGUSR1, handle_SIGHUP); switch_load_network_lists(SWITCH_FALSE); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Bringing up environment.\n");