Re: What signal should timeout send when it gets a SIGTERM?
From:
Kim Hansen
Subject:
Re: What signal should timeout send when it gets a SIGTERM?
Date:
Sun, 21 Mar 2010 16:34:30 +0100
2010/3/16 PƔdraig Brady <address@hidden>:
> I've added a --kill-delay option in the attached,
> so you should get the operation you require like:
>
> Ā timeout -k1 1h command
>
> That gives a 1 second grace period after a TERM signal is sent
> (either from the timer or from explicitly terminating the timeout command)
> before the command is killed.
I have had the time now to test this change, and it does solve my
problem in a really nice way.
Thanks a lot,
--
Kim Hansen
VadgƄrdsvej 3, 2.tv
2860 SĆøborg
Mobil: 3091 2437