sh 'sleep' and trap?

Karl Pielorz kpielorz_lst at tdx.co.uk
Wed Jul 16 13:21:15 UTC 2014



--On 16 July 2014 10:55 +0100 krad <kraduk at 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



More information about the freebsd-questions mailing list