From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1286 Path: news.gmane.org!not-for-mail From: Alex Efros Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Option for runsv/runsvdir to specify how many times to restart a service in a certain time period before giving up? Date: Mon, 30 Oct 2006 12:49:23 +0200 Organization: asdfGroup Inc., http://powerman.asdfGroup.com/ Message-ID: <20061030104923.GC32166@home.power> References: <4543AEE3.50200@alex-smith.me.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162205393 8495 80.91.229.2 (30 Oct 2006 10:49:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2006 10:49:53 +0000 (UTC) Original-X-From: supervision-return-1522-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Oct 30 11:49:52 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1GeUhp-0000iQ-NI for gcsg-supervision@gmane.org; Mon, 30 Oct 2006 11:49:25 +0100 Original-Received: (qmail 17331 invoked by uid 76); 30 Oct 2006 10:49:46 -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 17325 invoked from network); 30 Oct 2006 10:49:46 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <4543AEE3.50200@alex-smith.me.uk> User-Agent: Mutt/1.5.13 (2006-08-11) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1286 Archived-At: Hi! On Sat, Oct 28, 2006 at 08:26:27PM +0100, Alex Smith wrote: > Is this a good idea? Or not? I think - no, isn't bad idea. Such ideas just make software bloated. Your services MUST run all of time, that's why they called services. If some service doesn't start - it's a big problem, and admin should be notified about it urgently and fix it (maybe by disabling this service :)). Runit provide enough features to write such 'plugins' manually - you've ./finish file in which you can check how often it's executed and do something: stop service, sleep, or send sms to admin. -- WBR, Alex.