When explicitely signalling the supervisor to restart the child reset the run delay time back to minimum.

git-svn-id: http://yate.null.ro/svn/yate/trunk@3021 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2010-01-16 20:40:03 +00:00
parent 6318a02e9d
commit 66b8ce7ca2
1 changed files with 4 additions and 0 deletions

View File

@ -652,6 +652,10 @@ static pid_t s_superpid = -1;
static void superhandler(int signal)
{
switch (signal) {
case SIGUSR1:
case SIGUSR2:
s_rundelay = RUNDELAY_MIN;
break;
case SIGHUP:
if (s_logrotator)
s_rotatenow = true;