Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2014 14:21:12 +0100
From:      Karl Pielorz <kpielorz_lst@tdx.co.uk>
To:        krad <kraduk@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: sh 'sleep' and trap?
Message-ID:  <C87637051DA3A7B8F8C700AD@Mail-PC.tdx.co.uk>
In-Reply-To: <CALfReyf4E-OCX0x3SBwRQRKHcmt8vBXBKr5ivPqv1Bbe9dkCXQ@mail.gmail.com>
References:  <917611ACD1C0644B793C5B81@Mail-PC.tdx.co.uk> <CALfReyf4E-OCX0x3SBwRQRKHcmt8vBXBKr5ivPqv1Bbe9dkCXQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


--On 16 July 2014 10:55 +0100 krad <kraduk@gmail.com> wrote:

> send a kill to the script and then to the sleep process itself?

Would work, but wouldn't allow a simple:

  kill `head -1 /var/run/mypid.pid`

Which would make it a nasty 'exception' to how everything else works on the 
system :(

-Karl




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C87637051DA3A7B8F8C700AD>