all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 07/11] services: shepherd: Rename shepherd configuration file.
Date: Thu, 28 Jan 2016 00:10:32 +0300	[thread overview]
Message-ID: <1453929036-10408-8-git-send-email-alezost@gmail.com> (raw)
In-Reply-To: <1453929036-10408-1-git-send-email-alezost@gmail.com>

* gnu/services/shepherd.scm (dmd-configuration-file): Rename to...
  (shepherd-configuration-file): ... this.  Use "shepherd.conf" name.
  (dmd-boot-gexp): Use it.
---
 gnu/services/shepherd.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/services/shepherd.scm b/gnu/services/shepherd.scm
index a33985e..ccb71f3 100644
--- a/gnu/services/shepherd.scm
+++ b/gnu/services/shepherd.scm
@@ -55,13 +55,13 @@
 
 ;;; Commentary:
 ;;;
-;;; Instantiating system services as a dmd configuration file.
+;;; Instantiating system services as a shepherd configuration file.
 ;;;
 ;;; Code:
 
 
 (define (dmd-boot-gexp services)
-  (mlet %store-monad ((dmd-conf (dmd-configuration-file services)))
+  (mlet %store-monad ((shepherd-conf (shepherd-configuration-file services)))
     (return #~(begin
                 ;; Keep track of the booted system.
                 (false-if-exception (delete-file "/run/booted-system"))
@@ -79,7 +79,7 @@
 
                 ;; Start shepherd.
                 (execl (string-append #$shepherd "/bin/shepherd")
-                       "shepherd" "--config" #$dmd-conf)))))
+                       "shepherd" "--config" #$shepherd-conf)))))
 
 (define dmd-root-service-type
   (service-type
@@ -207,8 +207,8 @@ stored."
                     #:start #$(dmd-service-start service)
                     #:stop #$(dmd-service-stop service)))))
 
-(define (dmd-configuration-file services)
-  "Return the dmd configuration file for SERVICES."
+(define (shepherd-configuration-file services)
+  "Return the shepherd configuration file for SERVICES."
   (define modules
     (delete-duplicates
      (append-map dmd-service-imported-modules services)))
@@ -242,7 +242,7 @@ stored."
                                    (filter dmd-service-auto-start?
                                            services)))))
 
-    (gexp->file "dmd.conf" config)))
+    (gexp->file "shepherd.conf" config)))
 
 (define (dmd-service-back-edges services)
   "Return a procedure that, when given a <dmd-service> from SERVICES, returns
-- 
2.6.3

  parent reply	other threads:[~2016-01-27 21:11 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27 21:10 [PATCH 00/11]: Rename dmd to shepherd in Guix source Alex Kost
2016-01-27 21:10 ` [PATCH 01/11] gnu: elogind: Use 'shepherd' input Alex Kost
2016-01-28 10:22   ` Ludovic Courtès
2016-01-27 21:10 ` [PATCH 02/11] Use 'shepherd' instead of 'dmd' as init system Alex Kost
2016-01-28 10:23   ` Ludovic Courtès
2016-01-27 21:10 ` [PATCH 03/11] linux-boot: Rename /root/etc/dmd directory Alex Kost
2016-01-28 10:24   ` Ludovic Courtès
2016-01-27 21:10 ` [PATCH 04/11] services: Rename %do-not-kill-file Alex Kost
2016-01-28 10:25   ` Ludovic Courtès
2016-01-28 17:50     ` Alex Kost
2016-01-31  9:46       ` Ludovic Courtès
2016-01-27 21:10 ` [PATCH 05/11] doc: Replace references to 'dmd' with 'shepherd' Alex Kost
2016-01-28 10:27   ` Ludovic Courtès
2016-01-27 21:10 ` [PATCH 06/11] Rename (gnu services dmd) to (gnu services shepherd) Alex Kost
2016-01-28 10:28   ` Ludovic Courtès
2016-01-27 21:10 ` Alex Kost [this message]
2016-01-28 10:28   ` [PATCH 07/11] services: shepherd: Rename shepherd configuration file Ludovic Courtès
2016-01-27 21:10 ` [PATCH 08/11] services: xorg: Use 'shepherd' instead of 'dmd' Alex Kost
2016-01-28 10:28   ` Ludovic Courtès
2016-01-27 21:10 ` [PATCH 09/11] services: Rename 'dmd' services to 'shepherd' Alex Kost
2016-01-28 10:29   ` Ludovic Courtès
2016-01-27 21:10 ` [PATCH 10/11] guix system: Rename 'dmd-graph' to 'shepherd-graph' Alex Kost
2016-01-28 10:29   ` Ludovic Courtès
2016-01-27 21:10 ` [PATCH 11/11] Rename 'dmd' to 'shepherd' in comments and strings Alex Kost
2016-01-28 10:33   ` Ludovic Courtès
2016-01-28 21:03     ` Alex Kost
2016-01-28 10:22 ` [PATCH 00/11]: Rename dmd to shepherd in Guix source Ludovic Courtès

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=1453929036-10408-8-git-send-email-alezost@gmail.com \
    --to=alezost@gmail.com \
    --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.