* bug#68591: Error when using shepherd on foreign distro
@ 2024-01-19 20:12 Einar Largenius
2024-03-20 18:14 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Einar Largenius @ 2024-01-19 20:12 UTC (permalink / raw)
To: 68591
Hi,
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)) ())
Removing said line resolves the issue.
--
Med vänliga hälsningar Einar
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#68591: Error when using shepherd on foreign distro
2024-01-19 20:12 bug#68591: Error when using shepherd on foreign distro Einar Largenius
@ 2024-03-20 18:14 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-03-20 18:14 UTC (permalink / raw)
To: Einar Largenius; +Cc: 68591-done
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’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-20 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-19 20:12 bug#68591: Error when using shepherd on foreign distro Einar Largenius
2024-03-20 18:14 ` Ludovic Courtès
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).