From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Michael Subject: Re: shepherd, default /etc/shepherd.scm for other distributions Date: Tue, 12 Apr 2016 18:11:19 -0400 Message-ID: References: <20160412115237.GA9974@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq6Wn-0000b5-5s for guix-devel@gnu.org; Tue, 12 Apr 2016 18:11:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aq6Wl-0006gt-Ul for guix-devel@gnu.org; Tue, 12 Apr 2016 18:11:21 -0400 Received: from mail-vk0-x243.google.com ([2607:f8b0:400c:c05::243]:32952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq6Wl-0006gp-Q7 for guix-devel@gnu.org; Tue, 12 Apr 2016 18:11:19 -0400 Received: by mail-vk0-x243.google.com with SMTP id v68so4058949vka.0 for ; Tue, 12 Apr 2016 15:11:19 -0700 (PDT) In-Reply-To: <20160412115237.GA9974@protected.rcdrun.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Jean Louis Cc: guix-devel@gnu.org On Tue, Apr 12, 2016 at 7:52 AM, Jean Louis wrote: > I am searching for a sample shepherd /etc/shepherd.scm to be run on > other distributions. If anyone has such file, just a sample, for one > service, with the recent shepherd version, let me know. It would be > enough If you just want to see a harebrained example, this is what I am currently using with non-Guix Shepherd version 0.3.1 (warning: on Hurd). It basically attempts to reproduce the system initialization shell script from upstream Hurd, with a few ideas from other init systems mixed into it. http://paste.fedoraproject.org/354821/14604969/ It reads its service definitions from a drop-in configuration directory that packages can write into when they're installed. Here are the contents of a few of those files. http://paste.fedoraproject.org/354822/97563146/ David