guix-patches
[Top][All Lists]
Advanced

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

bug#68065: [PATCH] [shepherd] doc: Add init system config for another di


From: Ludovic Courtès
Subject: bug#68065: [PATCH] [shepherd] doc: Add init system config for another distro.
Date: Tue, 02 Jan 2024 23:41:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

Adam Faiz <adam.faiz@disroot.org> skribis:

>>From 55adea7b9529bb89ef1d67c830851043fbf237be Mon Sep 17 00:00:00 2001
> From: AwesomeAdam54321 <adam.faiz@disroot.org>
> Date: Thu, 28 Dec 2023 01:29:17 +0800
> Subject: [PATCH] doc: Add init system config for another distro.
>
> * doc/examples/awesomeadam.scm: New file.

Applied, thanks!

> +(register-services (list accounts-daemon
> +                      apparmor
> +                      avahi-daemon

[...]

> +(for-each start-service (list accounts-daemon
> +                           apparmor
> +                           avahi-daemon

I think you could (1) avoid repeating the whole lists, and (2) replace
(for-each start-service …) with:

  (start-in-the-background
    (map service-canonical-name the-list-of-services))

This allows for more parallelism when starting services.

Good to see shepherd put to good use on distros other than Guix!

Ludo’.





reply via email to

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