Hi Danny, I wrote a first draft of userservices a month ago. The idea here is that guix user -r user-manifest.scm generates a script that lauches a usershepherd. For instance with the following use
Dear Guixers, Here is a quick status update on my proposition to expose composable functions to change operating-system declarations. Thank you all for the feedback you gave me :) It's very nice to n
Hi, I'm revisiting this topic because I want to have a dbus user bus to be available as "${XDG_RUNTIME_DIR}/bus". Nice! It works! But while testing it I noticed: For a real usershepherd, it would be
Hello! Danny Milosavljevic <address@hidden> skribis: The ‘delete-file’ was to avoid EADDRINUSE but I wonder if it’s really a good idea. That’s a pretty good test. Note that (gnu services herd
Hello! Mathieu Othacehe <address@hidden> skribis: So you do “guix useruser-manifest.scm” and it generates shepherd.conf and spawns shepherd, right? Sounds pretty cool! Maybe ~/.config/guix/servi
Hi Ludo, Not a good idea. We should just put the shepherd socket somewhere in /run/user/4711 where 4711 is the user id (the entire name is present in an environment variable called XDG_RUNTIME_DIR).
Hello Danny, Danny Milosavljevic <address@hidden> skribis: Yes, that makes sense, we should do that. I see. Thanks for explaining, that makes a lot of sense to me! Ludo’.
Hello Guix! Today I added support for “one-shot” services in the Shepherd: https://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=c121eedfff7a50feddcf08e173d2b0dd807e8804 One-shot services sta
I've been thinking about shepherduserservices. We just had a discussion on the topic: https://lists.gnu.org/archive/html/help-guix/2019-02/msg00010.html and an interesting patch was sent a while ag
Hello, Another option is to turn it on only when you need it, along these lines: herd eval root '(begin (use-modules (shepherd service repl)) (register-services (list (repl-service))))' herd start re
We can extract parts, which have to be in sync between home service and system service and just use them in both. I don't see how placing home service in the same module will decrease the amount of "
Hey Alex, Alex ter Weele <address@hidden> skribis: Indeed, that’s a neat hack! And it ties software and service deployment, which is great. That we can fix. :-) Would it be enough for you? I don’
Hi Tobias Thanks for your answers! Le 04/29, Tobias Geerinckx-Rice a écrit : Reading the Shepherd documentation, I was expecting that something like this was possible, but, correct me if I'm wrong,
* modules/shepherd/comm.scm (<dmd-command>): Rename record type and its accessors to... (<shepherd-command>): ... this. (read-command, write-command): Adjust accordingly. * modules/halt.scm (main): L