Hi,
The documentation for s6-svscan says
> SIGTERM : acts as if a s6-svscanctl -t command had been received.
However the source in s6-svscan:107
case SIGTERM : cont = 0 ; wantkill = 1 ; killmode =
KILLMODE_ACTIVE | KILLMODE_SERVICES ; break ;
Is different from s6-svscan:130
case 't' : cont = 0 ; killmode = KILLMODE_ACTIVE |
KILLMODE_SERVICES ; return ;
In practice, it seems that "s6-svscanctl -t" results in s6-svscan
exiting without killing any of its child
processes, while it does do so after receiving SIGTERM.
Thanks,
--
Patrick Mahoney
Received on Mon Jul 07 2014 - 16:28:50 UTC