merge 323171 324634
thanks

Hi Thorsten,
I is not possible to simply add support for reload in init.d script because
stunnel4 does not support SIGHUP (reload).
SIGHUP is catched in signal_handler which is :

static void signal_handler(int sig) { /* signal handler */
   s_log(sig==SIGTERM ? LOG_NOTICE : LOG_ERR,
       "Received signal %d; terminating", sig);
   exit(3);
}

The solution is to add reload support in stunnel by catching SIGHUP
and reloading configuration.

Best Regards.

--
Julien Lemoine / SpeedBlue
"Savoir que les choses sont sans espoir et cependant tout faire pour les changer", Francis Scott Fitzgerald




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to