From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7kY1-0003jR-TS for guix-patches@gnu.org; Mon, 08 May 2017 11:26:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7kXy-0003zJ-BX for guix-patches@gnu.org; Mon, 08 May 2017 11:26:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36345) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7kXy-0003zE-86 for guix-patches@gnu.org; Mon, 08 May 2017 11:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d7kXy-0000vU-2y for guix-patches@gnu.org; Mon, 08 May 2017 11:26:02 -0400 Subject: bug#26830: Allow services to implement a 'reload' action Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7kXR-0003K1-PP for guix-patches@gnu.org; Mon, 08 May 2017 11:25:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7kXO-0003pS-GT for guix-patches@gnu.org; Mon, 08 May 2017 11:25:29 -0400 Received: from mail.lassieur.org ([83.152.10.219]:36924) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7kXO-0003o2-32 for guix-patches@gnu.org; Mon, 08 May 2017 11:25:26 -0400 Received: from rodion (192.168.0.254 [192.168.0.254]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id f20d878a (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Mon, 8 May 2017 15:25:19 +0000 (UTC) From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Date: Mon, 08 May 2017 17:25:18 +0200 Message-ID: <87d1bjtlpd.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain 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 Hi, The first patch allows services to implement a 'reload' action, and the other three implement the 'reload' action for nginx, prosody and dovecot. Services do not have to implement 'reload' and if, say, foo-daemon doesn't implement it, 'herd reload foo-daemon' will return 1 and display a message saying that foo-deamon does not have an action 'reload'. That's the reason of the #f default value. WDYT?