guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shepherd, default /etc/shepherd.scm for other distributions


From: Jean Louis
Subject: shepherd, default /etc/shepherd.scm for other distributions
Date: Tue, 12 Apr 2016 13:52:37 +0200

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 via email to

[Prev in Thread] Current Thread [Next in Thread]