From: Tobias Geerinckx-Rice <me@tobias.gr>
To: guix-devel@gnu.org
Subject: Re: Guix shepherd user services
Date: Mon, 29 Apr 2019 22:10:53 +0200 [thread overview]
Message-ID: <87sgu0mv2b.fsf@nckx> (raw)
In-Reply-To: <20190429195749.t2kksa5lujoafnlf@melmoth>
[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]
Tanguy,
Tanguy Le Carrour wrote:
> Hello Guix!
>
> I've just read this thread [1] on the archive and I think it
> would be a
> great feature! Any update on the topic?!
>
> [1]:
> https://lists.gnu.org/archive/html/guix-devel/2019-02/msg00132.html
>
> I would love to have some services started when I log in (tor,
> transmission-daemon, mpd, gpg-agent… you name them!) without
> having to
> rely on the root user and system configuration.
Note that this is already possible if you want it:
~ λ cat /home/nckx/.config/shepherd/init.scm
(load "services.scm")
(register-services emacs gpg-agent ibus-daemon jackd)
(action 'shepherd 'daemonize) ; send shepherd into background
(for-each start (list emacs)) ; services to start automatically
~ λ cat /home/nckx/.config/shepherd/services.scm
(define emacs
(make <service>
#:provides '(emacs)
#:requires '()
#:start (make-system-constructor "emacs --daemon")
#:stop (make-system-destructor "emacsclient --eval
\"(kill-emacs)\"")))
;; ...much more snipped...
~ λ grep shepherd /home/nckx/.xsession
shepherd # user service manager
The discussion is about how to add it (and user stuff in general)
to Guix, which is a big wriggly bag of tasty worms.
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
next prev parent reply other threads:[~2019-04-29 20:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-29 19:57 Guix shepherd user services Tanguy Le Carrour
2019-04-29 20:10 ` Tobias Geerinckx-Rice [this message]
2019-05-01 9:00 ` Tanguy Le Carrour
2019-05-04 7:07 ` Tanguy Le Carrour
2019-05-04 11:45 ` Tobias Geerinckx-Rice
2019-05-08 7:30 ` Tanguy Le Carrour
-- strict thread matches above, loose matches on Subject: below --
2019-02-10 15:02 Pierre Neidhardt
2019-02-10 17:21 ` Gábor Boskovits
2019-02-10 18:22 ` Pierre Neidhardt
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=87sgu0mv2b.fsf@nckx \
--to=me@tobias.gr \
--cc=guix-devel@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.
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.