unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* shepherd, default /etc/shepherd.scm for other distributions
@ 2016-04-12 11:52 Jean Louis
  2016-04-12 18:21 ` Alex Kost
  2016-04-12 22:11 ` David Michael
  0 siblings, 2 replies; 4+ messages in thread
From: Jean Louis @ 2016-04-12 11:52 UTC (permalink / raw)
  To: guix-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-13 18:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-04-13 18:09   ` Jean Louis

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).