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:
parent
6318a02e9d
commit
66b8ce7ca2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue