From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1623 Path: news.gmane.org!not-for-mail From: Mike Buland Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: using runit as init Date: Sun, 13 Jan 2008 11:28:53 -0700 Organization: Geek Gene Message-ID: <200801131128.53994.mike@geekgene.com> References: <200801032151.21524.list-supervision@augensalat.de> <20080113044021.GN41886@linsec.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200249069 7490 80.91.229.12 (13 Jan 2008 18:31:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Jan 2008 18:31:09 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1858-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Jan 13 19:31:32 2008 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1JE7cK-00069B-Eh for gcsg-supervision@gmane.org; Sun, 13 Jan 2008 19:31:32 +0100 Original-Received: (qmail 15124 invoked by uid 76); 13 Jan 2008 18:31:14 -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 15118 invoked from network); 13 Jan 2008 18:31:14 -0000 User-Agent: KMail/1.9.6 In-Reply-To: Content-Disposition: inline Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1623 Archived-At: Yes, read the (very lame) docs on mysqlmanager. It also now responds to other signals (such as term) so it plays nicely with runit :) mysqlmanager was introduced sometime in mysql 5, not sure when. --Mike P.S. My mysql script doesn't do all of that, I leave it to mysqlmanager, and I don't worry about the database being there, the installer takes care of all that on my system. I could probably do more with error checking, but I'm not sure what I would cover. My script is two lines including the bash ID at the top. On Sunday 13 January 2008 08:36:31 am Charlie Brady wrote: > On Sat, 12 Jan 2008, Vincent Danen wrote: > > mysqld is no more complex than anything else. > > Have they fixed it then, so that the master process kills children before > dying?