From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1283 Path: news.gmane.org!not-for-mail From: Alex Smith Newsgroups: gmane.comp.sysutils.supervision.general Subject: An idea for sv Date: Sat, 28 Oct 2006 11:51:04 +0100 Message-ID: <45433618.8040104@alex-smith.me.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1162032580 2268 80.91.229.2 (28 Oct 2006 10:49:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Oct 2006 10:49:40 +0000 (UTC) Original-X-From: supervision-return-1519-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Oct 28 12:49:38 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 1Gdlkl-00056h-JH for gcsg-supervision@gmane.org; Sat, 28 Oct 2006 12:49:27 +0200 Original-Received: (qmail 31988 invoked by uid 76); 28 Oct 2006 10:49:47 -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 31979 invoked from network); 28 Oct 2006 10:49:46 -0000 User-Agent: Thunderbird 1.5.0.7 (X11/20060916) Original-To: Runit List X-Identified-User: {878:box94.bluehost.com:tuxtalko:alex-smith.me.uk} {sentby:smtp auth 88.105.219.29 authed with alex@alex-smith.me.uk} Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1283 Archived-At: Hi all, I had a small idea for sv (feel free to tell me if it's stupid). What about creating a library, libsv, that provides functions for interacting with services and the sv program would just be a frontend for the library. That way, it would be easier to write frontends for sv or programs to manipulate services by using the library's functions rather than interpreting the output of sv run with popen for example. I came up with that idea when I was wondering how I could replace the current Frugalware runlevel editor with one that works with runit once we actually merge it into the main repository. What do you think? Thanks, Alex -- Alex Smith Frugalware Linux developer - http://www.frugalware.org