From patchwork Sat May 11 16:05:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Diego Nicola Barbato X-Patchwork-Id: 13952 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7889C16FC0; Sat, 11 May 2019 17:11:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2EC2716F88 for ; Sat, 11 May 2019 17:11:07 +0100 (BST) Received: from localhost ([127.0.0.1]:60748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPUaY-00057a-DS for patchwork@mira.cbaines.net; Sat, 11 May 2019 12:11:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPUaV-00056C-PA for guix-patches@gnu.org; Sat, 11 May 2019 12:11:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPUaU-0004qs-Qi for guix-patches@gnu.org; Sat, 11 May 2019 12:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hPUaU-0004qI-3B for guix-patches@gnu.org; Sat, 11 May 2019 12:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hPUaT-0006dV-R7 for guix-patches@gnu.org; Sat, 11 May 2019 12:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35686] [PATCH] doc: Document 'auto-start?' field of 'shepherd-service'. Resent-From: Diego Nicola Barbato Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 May 2019 16:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35686 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35686@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155759104925488 (code B ref -1); Sat, 11 May 2019 16:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 May 2019 16:10:49 +0000 Received: from localhost ([127.0.0.1]:40862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPUaH-0006d1-6E for submit@debbugs.gnu.org; Sat, 11 May 2019 12:10:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPUaF-0006cn-2e for submit@debbugs.gnu.org; Sat, 11 May 2019 12:10:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:57669) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hPUa9-0004fP-Ti for submit@debbugs.gnu.org; Sat, 11 May 2019 12:10:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPUa8-0004Vf-PD for guix-patches@gnu.org; Sat, 11 May 2019 12:10:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPUVP-00022S-Gi for guix-patches@gnu.org; Sat, 11 May 2019 12:05:49 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58213) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hPUVN-0001zQ-K7 for guix-patches@gnu.org; Sat, 11 May 2019 12:05:46 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 634432400E5 for ; Sat, 11 May 2019 18:05:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1557590742; bh=mkaIAoLR05Sf1fN1QlRTzPp8X5ElPDOSQ6u358njXX8=; h=From:To:Subject:Date:From; b=U/807JtqzgEGikauyEyjxp5cnrfF7T1GwOz7EVPOW3KMNk1d/v+l0Qe0moVcYOK7B DUQz7HA7H7445t5f9vEqVPtMItg87Rs0yYsD+Wtf/+etL7VK/9QxHNOeZoPry+ihSb 72vvzJygaJFJ8nJTbMcftsJo6rAWIFIXzbO1QP/jEeNv4zGXs9M91B6BAWhhO83qad 3t+xMEBggwKMQtUi2a3fGMEwooT8gX+0x1dm5lCi5AMbmPasi4k/jyqOEGABkjkmsC SPC2eQDU9I9zd7AM9kc+7w2fROv3fzGLYzvr6phKoC1WOompLKGuYB7Y1schjzBVNS NsnDVs5GMsv8Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 451X455LVpz9rxD for ; Sat, 11 May 2019 18:05:41 +0200 (CEST) From: Diego Nicola Barbato Date: Sat, 11 May 2019 18:05:41 +0200 Message-ID: <875zqh0yei.fsf@GlaDOS.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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 From 74c8321303d47b7c28f873c4e560b9fbaf136cfb Mon Sep 17 00:00:00 2001 From: Diego Nicola Barbato 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