]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add USR1 as alias for hup
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 1 Jul 2008 22:30:28 +0000 (22:30 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 1 Jul 2008 22:30:28 +0000 (22:30 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8879 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core.c

index c487d12e84f46edf70cf15bbf58ede789ee9e53a..7a1c4f09af4571bdf72c9bb2d0ebeef80dec9634 100644 (file)
@@ -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");