From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#36698: shepherd: list-actions not implemented Date: Tue, 31 Mar 2020 16:09:19 -0400 Message-ID: <20200331200919.GA20401@jasmine.lan> References: <20190716152611.016f4ca4@gmail.com> <7687ae32f92bba7b61b53b09ad2124c0@waegenei.re> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Qxx1br4bt0+wmkIi" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44854) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJND1-0002Hm-CT for bug-guix@gnu.org; Tue, 31 Mar 2020 16:10:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJND0-00074Z-3v for bug-guix@gnu.org; Tue, 31 Mar 2020 16:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53752) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJNCz-00074F-Tg for bug-guix@gnu.org; Tue, 31 Mar 2020 16:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJNCz-0001gV-K3 for bug-guix@gnu.org; Tue, 31 Mar 2020 16:10:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <7687ae32f92bba7b61b53b09ad2124c0@waegenei.re> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Brice Waegeneire Cc: 36698@debbugs.gnu.org --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-doc-Fix-typo-in-Jump-start.patch" >From 2b4785716abf2655d5be35679d5e2dfed62d27d7 Mon Sep 17 00:00:00 2001 From: Leo Famulari 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 --Qxx1br4bt0+wmkIi--