From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8nP0-0007xv-ES for guix-patches@gnu.org; Thu, 11 May 2017 08:41:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8nOw-0002u0-DL for guix-patches@gnu.org; Thu, 11 May 2017 08:41:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35121) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8nOw-0002tB-0w for guix-patches@gnu.org; Thu, 11 May 2017 08:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d8nOv-0006FY-Kn for guix-patches@gnu.org; Thu, 11 May 2017 08:41:01 -0400 Subject: bug#26830: [PATCH] services: shepherd: Allow services to implement a 'reload' action. Resent-Message-ID: References: <86vapa6nyi.fsf@gmail.com> <20170510193137.846-1-clement@lassieur.org> <8760h7rhmm.fsf@lassieur.org> From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur In-reply-to: <8760h7rhmm.fsf@lassieur.org> Date: Thu, 11 May 2017 14:40:25 +0200 Message-ID: <87vap7sh1i.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26830@debbugs.gnu.org Clément Lassieur writes: > Clément Lassieur writes: > >> +@item @code{reload} (default: @code{#f}) >> +The @code{reload} field refers to the Shepherd's facilities to reload >> +the service's configuration files without restarting. They are >> +@code{actions} (@pxref{Slots of services,,, shepherd, The GNU Shepherd >> +Manual}) and are given as G-expressions that get expanded in the >> +Shepherd configuration file (@pxref{G-Expressions}). > > With singular instead of plural...: > > @item @code{reload} (default: @code{#f}) > The @code{reload} field refers to the Shepherd's facilities to reload > the service's configuration files without restarting. It is an > @code{action} (@pxref{Slots of services,,, shepherd, The GNU Shepherd > Manual}) and is given as a G-expression that gets expanded in the > Shepherd configuration file (@pxref{G-Expressions}). New version: @item @code{reload} (default: @code{#f}) The @code{reload} field allows Shepherd to reload the service's configuration files without restarting. It is an @code{action} (@pxref{Slots of services,,, shepherd, The GNU Shepherd Manual}) and is given as a G-expression that gets expanded in the Shepherd configuration file (@pxref{G-Expressions}).