From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2874 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: fungal-net Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit SIGPWR support Date: Sat, 15 Feb 2020 12:47:11 +0200 Organization: Obarun.Org Message-ID: References: <1beb6e35-d4be-60b8-fc52-af666c4fffe3@gmx.com> <20200212215427.GG12551@cathexis.xen.prgmr.com> <6843181581673118@sas1-ffdbcd5f1d77.qloud-c.yandex.net> Reply-To: fungalnet@obarun.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="33664"; mail-complaints-to="usenet@ciao.gmane.io" To: supervision@list.skarnet.org Original-X-From: supervision-return-2463-gcsg-supervision=m.gmane-mx.org@list.skarnet.org Sat Feb 15 11:47:25 2020 Return-path: Envelope-to: gcsg-supervision@m.gmane-mx.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by ciao.gmane.io with smtp (Exim 4.92) (envelope-from ) id 1j2uyr-0008ZV-2x for gcsg-supervision@m.gmane-mx.org; Sat, 15 Feb 2020 11:47:25 +0100 Original-Received: (qmail 11760 invoked by uid 89); 15 Feb 2020 10:47:43 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Original-Received: (qmail 11753 invoked from network); 15 Feb 2020 10:47:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=obarun.org; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:To:Subject:Reply-To:Sender:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=VEi1M/I9Hbagm64kgVFVZKITr8XagReveKlr8xf/Jjk=; b=GjdnpMePVlrhgw9NwZ55eGvCMu Md3APgOq5xDIaSlSJ2UprhJ1rM/GTKxccKPakmFLrYHBti5+2tnzMIqPr23QOW51wkMbbmNotIbkR Kpkh3MU1H9PqsqjvMxuy8nEUyFI6egpkKWrn46/H6prZ0JxfjNMzGWadW8BxorQanQwP1VjdwzMkz 0yGvODICZ1pWcRtCN0Pmq0LOR7Bidqjy5M2E7mFguftAT4K6FH5uLrkV1lB23mtdGkvrd3fFl+Bem 8kuYssl1n0XJ/9y6kQwT9Gh3hibs36oSfYrSDL2e+XUb6k0kmkSV1zuJSD0v2BZRKr+Nll4zsbxcy x4eIunug==; In-Reply-To: <6843181581673118@sas1-ffdbcd5f1d77.qloud-c.yandex.net> Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sv26.byethost26.org X-AntiAbuse: Original Domain - list.skarnet.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - obarun.org X-Get-Message-Sender-Via: sv26.byethost26.org: authenticated_id: fungalnet@obarun.org X-Authenticated-Sender: sv26.byethost26.org: fungalnet@obarun.org Xref: news.gmane.io gmane.comp.sysutils.supervision.general:2874 Archived-At: Jeff: > > you should patch the code, runit is dead anyway. > try something along this lines in the source: > > #ifdef SIGPWR > /* handle that one */ > ... > #endif > > i can't see the problem, you have to patch the runit sources to > fulfil your requirements since that project is dead and the code > is not maintained anymore. As far as void is concerned runit is alive and well. They also have many scripts written to make power tasks simple like sleep called zzz Artix has runit scripts for apcupsd, if that helps any.