From: divoplade <d@divoplade.fr>
To: "Wiktor Żelazny" <wz@freeshell.de>, help-guix@gnu.org
Subject: Re: How do you define a service?
Date: Sat, 17 Oct 2020 21:47:50 +0200 [thread overview]
Message-ID: <4f3af578e6f34546cdc06abb62a07878c5871677.camel@divoplade.fr> (raw)
In-Reply-To: <20201017155803.ovqsqzy7mzejdk7l@wzguix>
Hello,
Le samedi 17 octobre 2020 à 17:58 +0200, Wiktor Żelazny a écrit :
> You might want to take a look at [1].
>
> WŻ
>
> [1]: https://www.mndet.net/2016/05/04/guixsd-system-service.html
This is exactly what I was looking for, although I needed to import
ice-9 optargs for the define* function. Results is here:
https://code.divoplade.fr/pomdappi.git/tree/guix/divoplade/services/pomdappi.scm
I still have a problem: shepherd reports an exception when loading the
service:
Wrong type to apply: 17293
(or any number, it varies, maybe a PID).
Do you know what happens?
Best regards,
divoplade
next prev parent reply other threads:[~2020-10-17 19:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-17 15:07 How do you define a service? divoplade
2020-10-17 15:58 ` Wiktor Żelazny
2020-10-17 19:47 ` divoplade [this message]
2020-10-17 20:55 ` Julien Lepiller
2020-10-17 21:08 ` divoplade
2020-10-17 21:42 ` divoplade
2020-10-17 22:18 ` Julien Lepiller
2020-10-18 9:49 ` divoplade
2020-10-18 12:12 ` Julien Lepiller
2020-10-18 14:53 ` divoplade
2020-10-18 15:43 ` divoplade
2020-10-18 16:42 ` Efraim Flashner
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=4f3af578e6f34546cdc06abb62a07878c5871677.camel@divoplade.fr \
--to=d@divoplade.fr \
--cc=help-guix@gnu.org \
--cc=wz@freeshell.de \
/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).