all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <guix@rcdrun.com>
To: guix-devel@gnu.org
Subject: shepherd, default /etc/shepherd.scm for other distributions
Date: Tue, 12 Apr 2016 13:52:37 +0200	[thread overview]
Message-ID: <20160412115237.GA9974@protected.rcdrun.com> (raw)

Hello,

According to the page https://www.gnu.org/software/shepherd/ this
mailing list should be right for shepherd.

Shepherd could be a good replacement on other GNU/Linux distributions
for the PID 1 and management of various services. It is now used in
GuixSD, which is good.

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 

The provided file from wolfgang is no go by default.

Further, I have seen difference between version 0.3 and 0.3.1, which,
which I have run with:

./configure --prefix= --datarootdir=/usr/share

If it is to be used on other distributions, datarootdir is a must, as
otherwise it goes to /share. I guess the configure is missing and
tar.gz package is not yet finished for other systems to adopt it.

shepherd is installed in /bin, maybe should be in /sbin similarly
like /sbin/init.

My configure also gave me 2 versions of files:

diff /bin/shepherd (0.3.1)  /media/out/bin/shepherd (0.3)
5,6c5,6
< (set! %load-path (cons "/sources/shepherd-0.3/modules" %load-path))
< (set! %load-compiled-path (cons "/sources/shepherd-0.3/modules"
%load-compiled-path))
---
> (set! %load-path (cons "/usr/share/guile/site/2.0" %load-path))
> (set! %load-compiled-path (cons "/usr/share/guile/site/2.0"
> %load-compiled-path))

I guess it should by default put "/sources/..." in load-path but rather
as in the 0.3 version "/usr/share/guile/site/2.0".

Jean Louis

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

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

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

  git send-email \
    --in-reply-to=20160412115237.GA9974@protected.rcdrun.com \
    --to=guix@rcdrun.com \
    --cc=guix-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.