all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#35686] [PATCH] doc: Document 'auto-start?' field of 'shepherd-service'.
@ 2019-05-11 16:05 Diego Nicola Barbato
  2019-05-12 21:33 ` bug#35686: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Diego Nicola Barbato @ 2019-05-11 16:05 UTC (permalink / raw)
  To: 35686

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

Hi Guix,

This patch adds the missing 'auto-start?' field to the documentation of
'shepherd-service'.

I have also noticed that the 'documentation' field is not in the same
position as it is in the source code (the remaining fields are in the
right order).  I did not change this as I was not sure whether it was
done on purpose.

Regards,

Diego


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-doc-Document-auto-start-field-of-shepherd-service.patch --]
[-- Type: text/x-patch, Size: 943 bytes --]

From 74c8321303d47b7c28f873c4e560b9fbaf136cfb Mon Sep 17 00:00:00 2001
From: Diego Nicola Barbato <dnbarbato@posteo.de>
Date: Sat, 11 May 2019 17:21:18 +0200
Subject: [PATCH] doc: Document 'auto-start?' field of 'shepherd-service'.

* doc/guix.texi (shepherd-service): Document 'auto-start?' field.
---
 doc/guix.texi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index 3f50bf77fe..86ed199aed 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -25312,6 +25312,10 @@ This is a list of @code{shepherd-action} objects (see below) defining
 herd @var{action} @var{service} [@var{arguments}@dots{}]
 @end example
 
+@item @code{auto-start?} (default: @code{#t})
+Whether this service should be started automatically by the Shepherd.  If it
+is @code{#f} the service has to be started manually with @code{herd start}.
+
 @item @code{documentation}
 A documentation string, as shown when running:
 
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#35686: [PATCH] doc: Document 'auto-start?' field of 'shepherd-service'.
  2019-05-11 16:05 [bug#35686] [PATCH] doc: Document 'auto-start?' field of 'shepherd-service' Diego Nicola Barbato
@ 2019-05-12 21:33 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-05-12 21:33 UTC (permalink / raw)
  To: Diego Nicola Barbato; +Cc: 35686-done

Hi Diego,

Diego Nicola Barbato <dnbarbato@posteo.de> skribis:

> This patch adds the missing 'auto-start?' field to the documentation of
> 'shepherd-service'.

Applied!

> I have also noticed that the 'documentation' field is not in the same
> position as it is in the source code (the remaining fields are in the
> right order).  I did not change this as I was not sure whether it was
> done on purpose.

Yeah, it doesn’t matter much.  I try to put “less important” fields
towards the bottom when documenting, but perhaps the relative
importance of these fields wasn’t all that clear.  ;-)

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-12 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-11 16:05 [bug#35686] [PATCH] doc: Document 'auto-start?' field of 'shepherd-service' Diego Nicola Barbato
2019-05-12 21:33 ` bug#35686: " Ludovic Courtès

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.