From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OJA6JQly/mZ/WAEA62LTzQ:P1 (envelope-from ) for ; Thu, 03 Oct 2024 10:29:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OJA6JQly/mZ/WAEA62LTzQ (envelope-from ) for ; Thu, 03 Oct 2024 12:29:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=sfEg2rUn; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FT7fmAci; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727951369; a=rsa-sha256; cv=none; b=OGHqv4DIj5q06ObtsLJgrxFSdqoy6pOgzxRbwbBEzMQXrV6Ueb/g/ItKUPuUO/jkrMX0R0 K69E1jV90E8bAAAyGe/01Dvex6Ia25DSbLZ1LDeiP5t1969m4HPn7ltSsGSZu0wxXYXSd0 R3CaIcl6igVI2Hhq9RvcAqdhQgZMidzDdLCauX2mkptFYPOSS7xqcQeA9GL3zYG0//QYmK Qtt8Hb3qZsVAMd89yhZmZuuqMtuoVmFF9MsOGXFLLeomO0Oh2twhUq67wV1nKAq+sI51cy 1w4Oiky08MhBs2T9yH2hnbSzynlniImwzNTicTm6zCBDYX0mlTfHjoNQdlMWVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=sfEg2rUn; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FT7fmAci; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727951369; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=xp+BqCaEy2DcjZKFQFWq+zwLM2jWc/Dr8SPhD21hYPw=; b=jpHd1JRJwWD4JFabit6BWsSj/czWhq2dlryi4886WA+4UGH6K4l39zBkt3qtB+ceRTvmmr 1HwisJw0DWydkrCOi2fT1/11mcMgNzGYuLcOU3BIljsY6Rbm9Lz7OeAmdeDsCh2boAy0iz PP5raCzzpcSv7PHCyt7ZWTVU1jbRTI1zkgNAmLDHMZnSA/dbMsbJFD1UjNDMjj60X92oWz 7ch99parg30dwk+q/xSsAQq/OxTyJqZ/S1jQ6onWyRQ0/vkAj0QQFesgKaHr9RkcYs6xkQ mtXCsz1m9QZRKo4cN0rpDsRECMuDCVy5WerwGAcEtdm4RwRvPIpXEp/j1vcOwA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0541A76C23 for ; Thu, 03 Oct 2024 12:29:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swJ4x-0006nx-Dn; Thu, 03 Oct 2024 06:29:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1swJ4u-0006mi-M4 for guix-patches@gnu.org; Thu, 03 Oct 2024 06:29:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1swJ4u-000610-DW for guix-patches@gnu.org; Thu, 03 Oct 2024 06:29:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=xp+BqCaEy2DcjZKFQFWq+zwLM2jWc/Dr8SPhD21hYPw=; b=sfEg2rUnEDiRYhDPvl29u1kQ1ozaPvWPlLcrUfMUPcorYdGcp15lX+E/iObbxazxxCKh1Mq8/gzKhvvjG3a87lgWBe+8ofEj1T0il1Thix5CFpLKxmUl3E8Y19gqzzacoFBmx/i5+1ImiLju7dVA26M2WIKHzrgj0u0t5x3kecy1yxjepwYW7l1Gm0zTPSoxmifZME2qvN7mluUdmhbvLEcDRd9tTPV6LB52O1cscgeYgUHdxplGOQGRYhYpB72gNzbszbN7SJla+w+boKne72NuHfIJ94zfDkzaJMmS8Ftt3MGMaC6yvxW2hH0qCNIMK0qDMOh9/q2TBZLHxPvtqw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swJ4v-0002c4-QY for guix-patches@gnu.org; Thu, 03 Oct 2024 06:29:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73467] Wireguard: Add auto-start? field. References: <87cyksjfhw.fsf@gmail.com> In-Reply-To: <87cyksjfhw.fsf@gmail.com> Resent-From: Apoorv Singh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Oct 2024 10:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73467 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73467@debbugs.gnu.org Received: via spool by 73467-submit@debbugs.gnu.org id=B73467.172795133510028 (code B ref 73467); Thu, 03 Oct 2024 10:29:01 +0000 Received: (at 73467) by debbugs.gnu.org; 3 Oct 2024 10:28:55 +0000 Received: from localhost ([127.0.0.1]:60024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swJ4o-0002bg-OS for submit@debbugs.gnu.org; Thu, 03 Oct 2024 06:28:55 -0400 Received: from mail-pg1-f174.google.com ([209.85.215.174]:42052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swERX-0003lE-AZ for 73467@debbugs.gnu.org; Thu, 03 Oct 2024 01:32:03 -0400 Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-7d666fb3fb9so340655a12.0 for <73467@debbugs.gnu.org>; Wed, 02 Oct 2024 22:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727933461; x=1728538261; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=xp+BqCaEy2DcjZKFQFWq+zwLM2jWc/Dr8SPhD21hYPw=; b=FT7fmAcis4/7VVuJHIdFvs7BPRcNEEzX2Sx6x5Y7FACEAbDA3u5TwIANPOtO/PYg7O aBEhPWE69Ph1ZKocMZ5L7QdEUYmVXPFdltPrPkbZ1Q7Ks5kGoG5BhjfGupx13MdcCbAw Afb+/a3qkZAkLC/jtTB/TlEPNqC/QVChJAHvdRygJ0XNxuVHZAgixK/aU/LNTDGah2S9 QE8/NLTeg0ONqNOoRjnBcg6+8AVLBDoA6rXq6qnFkysEFDzj4tbxrkhD4KUTIdr+Mh+5 cHFRSJoDIZ2SBeaVrzNEALp8yM5dVSSZc3aIpf4axJk2JQG1jMYQo4Zw8ySl8bhBZvjl qgaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727933461; x=1728538261; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xp+BqCaEy2DcjZKFQFWq+zwLM2jWc/Dr8SPhD21hYPw=; b=dfGP+tu9p0GI6A4YXhO206TyDJh5h81grF/K+aeBriSq/7kKzmRMHqQXHbjaSnTO95 FysEj+Z2u1ziZmt617gqbCD1tbzSfbZlUFEhi9hEG1XVNeQ2ygAtHxHWXvvxkg39a2WH WFQUo8lkQdiilACbVRefVul+ItcRTaUdtVxpJ6oyLE/kwWlSk9gW7krfl44lXHF0p6TT c08VWdJJmfQxFX12SWSoxU8OVTyfec1id1b0Aa5xFtVnde+d/2CEH98hBWGLa+9k0vnH g5ym6u9gqMn1tmW5f96o8fc09dxYG2wbZN5f98W/GJEFipCCddBvWocO6ZbT6q/1hBm0 NUgA== X-Gm-Message-State: AOJu0YxsSjikPUZ2PNUzCVoxfWjLYf113sjayFwMieaeIy9zY9KTSYl/ mE32grhmHN5fb04EGB3nacBDeWDB1ySghqRzvnjZKYN6rWHANcFL3vgq X-Google-Smtp-Source: AGHT+IH9fKbTzynIJjzhlyftmzpZvO2vVlXTq8P10wAvcMEYhGXBHMVFjpc9njmTXerMgs8m0TGvWg== X-Received: by 2002:a05:6a20:d705:b0:1d5:118a:b53a with SMTP id adf61e73a8af0-1d6d3aab035mr3446197637.21.1727933460945; Wed, 02 Oct 2024 22:31:00 -0700 (PDT) Received: from MachineY ([139.5.251.166]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9e09016sm458577b3a.213.2024.10.02.22.30.59 for <73467@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 22:31:00 -0700 (PDT) From: Apoorv Singh Date: Thu, 03 Oct 2024 11:00:57 +0530 Message-ID: <877capwy5q.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Mailman-Approved-At: Thu, 03 Oct 2024 06:28:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.75 X-Spam-Score: -0.75 X-Migadu-Queue-Id: 0541A76C23 X-Migadu-Scanner: mx10.migadu.com X-TUID: wRIa4cfNKjtM --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0003-Rename-autostart-to-auto-start-as-other-services-use.patch Content-Description: Rename field autostart? to auto-start? >From e17eb73fb9662e44c6cb03405ea87f7e37dbf1e3 Mon Sep 17 00:00:00 2001 From: apoorv569 Date: Thu, 3 Oct 2024 10:51:36 +0530 Subject: [PATCH 3/4] Rename autostart? to auto-start? as other services use the same. --- gnu/services/vpn.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm index eee7e78c6d..7e79de48a8 100644 --- a/gnu/services/vpn.scm +++ b/gnu/services/vpn.scm @@ -762,7 +762,7 @@ (define-record-type* (default '())) (table wireguard-configuration-table ;string (default "auto")) - (autostart? wireguard-configuration-autostart? + (auto-start? wireguard-configuration-autostart? ;boolean (default #f))) (define (wireguard-configuration-file config) -- 2.46.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0004-Document-the-new-auto-start-field-for-wireguard-serv.patch Content-Description: Document the newly added auto-start? field. >From 2db03437e74407152d4e3cbd6b234baeda670fcf Mon Sep 17 00:00:00 2001 From: apoorv569 Date: Thu, 3 Oct 2024 10:53:05 +0530 Subject: [PATCH 4/4] Document the new auto-start? field for wireguard-service-type. --- doc/guix.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 52e36e4354..50676997e2 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -34396,6 +34396,10 @@ special values: @code{"off"} that disables the creation of routes altogether, and @code{"auto"} (the default) that adds routes to the default table and enables special handling of default routes. +@item @code{auto-start?} (default: @code{#t}) (type: boolean) +Whether the service should be started automatically. If it +is @code{#f} the service has to be started manually with @command{herd start}. + @end table @end deftp -- 2.46.0 --=-=-= Content-Type: text/plain; format=flowed The following patches rename the autostart? field to auto-start? to follow what other services name the field and documents the newly added field in guix.texi file. -- - Apoorv Singh - Sent from Emacs. --=-=-=--