unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Einar Largenius <jaadu@lysator.liu.se>
Cc: 68591-done@debbugs.gnu.org
Subject: bug#68591: Error when using shepherd on foreign distro
Date: Wed, 20 Mar 2024 19:14:06 +0100	[thread overview]
Message-ID: <87sf0kydn5.fsf@gnu.org> (raw)
In-Reply-To: <874jf983kv.fsf@lysator.liu.se> (Einar Largenius's message of "Fri, 19 Jan 2024 21:12:18 +0100")

Hi Einar,

Einar Largenius <jaadu@lysator.liu.se> skribis:

> I am setting up shepherd for use by my user account on a foreign distro. I setup as described in the manual in the section "(shepherd) Managing User Services". When I try to run it using shepherd, it crashes on the line:
>
>      ;; Send shepherd into the background
>      (perform-service-action 'shepherd 'daemonize)
>
> with the error:
>
>     Uncaught exception while loading configuration file '/home/jaadu/.config/shepherd/init.scm': (goops-error #f "No applicable method for ~S in call ~S" (#<<generic> service-actions (1)> (service-actions shepherd)) ())

This was a bug in the documentation, now fixed in Shepherd commit
0fbba586cd1eafa28c827641f093cc9f3cdc1d00.

Instead of the line above, you should write:

  (perform-service-action root-service 'daemonize)

Thanks!

Ludo’.




      reply	other threads:[~2024-03-20 18:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-19 20:12 bug#68591: Error when using shepherd on foreign distro Einar Largenius
2024-03-20 18:14 ` Ludovic Courtès [this message]

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=87sf0kydn5.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=68591-done@debbugs.gnu.org \
    --cc=jaadu@lysator.liu.se \
    /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).