all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: help-guix@gnu.org
Subject: Re: Starting user services at boot
Date: Mon, 13 Feb 2017 10:30:10 +0100	[thread overview]
Message-ID: <878tpah1zx.fsf@gnu.org> (raw)
In-Reply-To: <20170212195413.GA8296@jasmine> (Leo Famulari's message of "Sun, 12 Feb 2017 14:54:13 -0500")

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.

HTH!

Ludo’.

  reply	other threads:[~2017-02-13  9:30 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 [this message]
2017-02-13 12:37   ` ng0
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878tpah1zx.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=leo@famulari.name \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.