help-guix
[Top][All Lists]
Advanced

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

Re: Starting user services at boot


From: Ludovic Courtès
Subject: Re: Starting user services at boot
Date: Mon, 13 Feb 2017 10:30:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hi Leo!

Leo Famulari <address@hidden> skribis:

> Does anyone have advice about how to start an unprivileged user's
> services when the system boots?
>
> On other systems, I could at least invoke them in /etc/rc.local, but I'm
> not sure how to do it on GuixSD.

Currently I run shepherd as myself, which reads from
~/.config/shepherd/init.scm.  It gets started from my ~/.xsession.

Admittedly this is a bit of a hack.  It wouldn’t be hard to define
per-user Shepherd instances as global Shepherd services in GuixSD, if
you see what I mean.

Another option would be to add support for this directly in the
Shepherd, which has pros and cons.

HTH!

Ludo’.



reply via email to

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