all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Brice Waegeneire <brice@waegenei.re>
Cc: 36698@debbugs.gnu.org
Subject: bug#36698: shepherd: list-actions not implemented
Date: Tue, 31 Mar 2020 16:09:19 -0400	[thread overview]
Message-ID: <20200331200919.GA20401@jasmine.lan> (raw)
In-Reply-To: <7687ae32f92bba7b61b53b09ad2124c0@waegenei.re>

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

On Tue, Mar 31, 2020 at 07:43:36PM +0000, Brice Waegeneire wrote:
> > I am curious about what actions are implemented in the system services
> > on my GuixSD install. I try something like the following for the
> > different system services and get an error:
> > 
> > jesse@piranhaplant ~$ sudo herd list-actions term-tty6
> > Password:
> > herd: service 'term-tty6' does not have an action 'list-actions'
> 
> The documentation has been updated in
> d5da712a5605a0cdaa4cf3bd64621a95a54520c0
> to clarify the use of 'list-actions' and there is an example on how to use
> it.
> 
> # herd doc term-tty6 list-actions
> term-tty6 ()
> # herd doc root list-actions
> root (help status halt power-off load eval unload reload daemonize
> persistency no-persistency cd restart)
> 
> This bug should be closed.

Here is a patch to fix a small typo in that commit.

[-- Attachment #2: 0001-doc-Fix-typo-in-Jump-start.patch --]
[-- Type: text/plain, Size: 1423 bytes --]

From 2b4785716abf2655d5be35679d5e2dfed62d27d7 Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Tue, 31 Mar 2020 16:07:46 -0400
Subject: [PATCH] doc: Fix typo in Jump start.

* doc/shepherd.texi (Jump start): Fix typo in documentation of special action
'doc'.
---
 doc/shepherd.texi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/shepherd.texi b/doc/shepherd.texi
index 9ecd2ab..39454ba 100644
--- a/doc/shepherd.texi
+++ b/doc/shepherd.texi
@@ -289,11 +289,11 @@ to load arbitrary code into the Shepherd at runtime, like this:
 herd load shepherd ~/additional-services.scm
 @end example
 
-In the same vein the special action @code{doc} describes it service when
-called without an argument or describes a service-specific action when
-called with the action as the additional arguments.  You can even get
-the list of the service-specific actions a service provides when using
-with the additional argument @code{list-actions}.
+In the same vein the special action @code{doc} describes its service
+when called without an argument or describes a service-specific action
+when called with the action as the additional arguments.  You can even
+get the list of the service-specific actions a service provides when
+using with the additional argument @code{list-actions}.
 @example
 $ herd doc root
 The root service is used to operate on shepherd itself.
-- 
2.26.0


  reply	other threads:[~2020-03-31 20:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-16 21:26 bug#36698: shepherd: list-actions not implemented Jesse Gibbons
2020-03-31 19:43 ` Brice Waegeneire
2020-03-31 20:09   ` Leo Famulari [this message]
2020-03-31 22:34     ` Leo Famulari

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=20200331200919.GA20401@jasmine.lan \
    --to=leo@famulari.name \
    --cc=36698@debbugs.gnu.org \
    --cc=brice@waegenei.re \
    /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.