unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix@gnu.org
Subject: Re: Starting user services at boot
Date: Mon, 13 Feb 2017 12:37:44 +0000	[thread overview]
Message-ID: <20170213123743.ngvpeu4iscadyrwr@wasp> (raw)
In-Reply-To: <878tpah1zx.fsf@gnu.org>

On 17-02-13 10:30:10, Ludovic Courtès wrote:
> Hi Leo!
> 
> Leo Famulari <leo@famulari.name> 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.

What are the pros and cons from your point of view, could you explain this?
 
> HTH!
> 
> Ludo’.
> 

-- 
ng0 -- https://www.inventati.org/patternsinthechaos/

  reply	other threads:[~2017-02-13 12:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-12 19:54 Starting user services at boot Leo Famulari
2017-02-13  9:30 ` Ludovic Courtès
2017-02-13 12:37   ` ng0 [this message]
2017-02-13 14:01     ` Ludovic Courtès
2017-02-15 11:14   ` Alex Kost

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=20170213123743.ngvpeu4iscadyrwr@wasp \
    --to=contact.ng0@cryptolab.net \
    --cc=help-guix@gnu.org \
    --cc=ludo@gnu.org \
    /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.
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).