Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 20:51:02 +0400
From:      "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD Shutdown - Signal Timing?
Message-ID:  <021a01c14b62$6b7fcb60$6d36120a@comsys.ntukpi.kiev.ua>
References:  <020301c14b65$b1f6dbd0$57954c18@cns>

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

----- Original Message ----- 
From: Eric Parusel <lists@globalrelay.net>
Newsgroups: lucky.freebsd.questions
Sent: Tuesday, October 02, 2001 9:16 PM
Subject: FreeBSD Shutdown - Signal Timing?


>     I'm writing a perl script that has a long sleep cycle and a short
> processing cycle...
> During that processing cycle I'd like the script to ignore TERM's....

Why not just ignore TERM signal in you Perl-script:
$SIG{'TERM'} = 'IGNORE'; 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?021a01c14b62$6b7fcb60$6d36120a>