unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Michael <fedora.dm0@gmail.com>
To: Jean Louis <guix@rcdrun.com>
Cc: guix-devel@gnu.org
Subject: Re: shepherd, default /etc/shepherd.scm for other distributions
Date: Tue, 12 Apr 2016 18:11:19 -0400	[thread overview]
Message-ID: <CAEvUa7kYZqh6+ZTMPmtB9RO57g5kO+GptxUzQPB90B8q0BqkQQ@mail.gmail.com> (raw)
In-Reply-To: <20160412115237.GA9974@protected.rcdrun.com>

On Tue, Apr 12, 2016 at 7:52 AM, Jean Louis <guix@rcdrun.com> 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

  parent reply	other threads:[~2016-04-12 22:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12 11:52 shepherd, default /etc/shepherd.scm for other distributions Jean Louis
2016-04-12 18:21 ` Alex Kost
2016-04-12 22:11 ` David Michael [this message]
2016-04-13 18:09   ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEvUa7kYZqh6+ZTMPmtB9RO57g5kO+GptxUzQPB90B8q0BqkQQ@mail.gmail.com \
    --to=fedora.dm0@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=guix@rcdrun.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).