From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/898 Path: news.gmane.org!not-for-mail From: TheOldFellow Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: run scripts Date: Tue, 18 Oct 2005 10:27:08 +0100 Message-ID: <4354BFEC.7020006@gmail.com> References: <43458F4B.5050903@zilli.gulinuxsul.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1129627695 610 80.91.229.2 (18 Oct 2005 09:28:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2005 09:28:15 +0000 (UTC) Original-X-From: supervision-return-1134-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Oct 18 11:28:07 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1ERnkT-00023G-4n for gcsg-supervision@gmane.org; Tue, 18 Oct 2005 11:27:09 +0200 Original-Received: (qmail 7161 invoked by uid 76); 18 Oct 2005 09:27:30 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 7155 invoked from network); 18 Oct 2005 09:27:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding:from; b=MS4f5Xk5V46qmgawDL7a8ljSazu8A/yzObFyUCyLutvFRpS/fJMrfP8b/8bVm0oI17sBRVDPUGRsq+RFx7+hgHFD5KfRb93ELT/RV1UcuJfLmsVvAkRHD4dtuf96vDm6Dj5eGi3xvhakLyRSXeutK7nX8Q6UpCXF4rLXsx9eB5w= User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050808) X-Accept-Language: en-us, en Original-To: supervision@list.skarnet.org In-Reply-To: X-Enigmail-Version: 0.92.1.0 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:898 Archived-At: Charlie Brady wrote: > > On Thu, 6 Oct 2005, Daniel Zilli wrote: > >> I'm start working with runit and found it great. I would like to > What's also important is that the TERM signal will actually cause the > process to shut down. A few badly behaved programs don't do that - mysql > in particular. But you can use a finish script to kill them (or send them their correct shutdown signals). I find that I need to do that for the nfsd threads after stopping mountd (with rpc.nfsd -- 0). > It's common practice to have programs log to stderr rather than via syslog. Unless you use socklog (recommended). R.