From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sCxmEgnIOGE17gAAgWs5BA (envelope-from ) for ; Wed, 08 Sep 2021 16:26:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UGO8DQnIOGHkVgAA1q6Kng (envelope-from ) for ; Wed, 08 Sep 2021 14:26:17 +0000 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 CF09D2D0D9 for ; Wed, 8 Sep 2021 16:26:16 +0200 (CEST) Received: from localhost ([::1]:47644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNyWl-0001Ba-Ox for larch@yhetil.org; Wed, 08 Sep 2021 10:26:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNyWa-0001Ab-FI for guix-patches@gnu.org; Wed, 08 Sep 2021 10:26:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNyWY-0003fl-Bx for guix-patches@gnu.org; Wed, 08 Sep 2021 10:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNyWY-00079M-80 for guix-patches@gnu.org; Wed, 08 Sep 2021 10:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50326] [PATCH cuirass] Add systemd unit file for remote worker service. Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Sep 2021 14:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50326 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 50326@debbugs.gnu.org Received: via spool by 50326-submit@debbugs.gnu.org id=B50326.163111112127429 (code B ref 50326); Wed, 08 Sep 2021 14:26:02 +0000 Received: (at 50326) by debbugs.gnu.org; 8 Sep 2021 14:25:21 +0000 Received: from localhost ([127.0.0.1]:33227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNyVt-00078L-8d for submit@debbugs.gnu.org; Wed, 08 Sep 2021 10:25:21 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:31358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNyVm-00077s-IT for 50326@debbugs.gnu.org; Wed, 08 Sep 2021 10:25:20 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id A58DDB08; Wed, 8 Sep 2021 16:25:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1631111107; x=1632925508; bh=NJReM1gElqlH3mf0jnx87wfN47PprAVJcWu oOs266lo=; b=bEdl/2gGtftXSxKXGYCdOHZLsQhkpRf4T5OBlLL4KoPyaKv8tjv o4K0ZNzOkTeL/r8tXEpk1E5yf6NcBJZ5+OoJy63n9Ee4yVQ5EFkY5QFDhMMuLEi0 S9gDqegOJM6b8vfS0fa1Q17/WnKXDbqE5Z6vxATN3VDpDmmZ4N0pJ8GjrNhnwLuE S7t7SI+MdrxolZYx2mKL/yFjW0YvlVJwp7pwPN2Q7YjVXMn1hfRv4e1bi3OX4110 UlcPscRC5MfyqdVUYVYDEKHgqv4Ag5SAYLmdRWOXwTG6CjLh/k3/mJgLDvvpJfAv Z268BviXKYWuaPtEhmhNoyEqXInh/G+v+RU9amJ4Hjv8KH0RDbHJ2wnbYTrVHQU3 o2yBvtyMQeQcG7/1PZa/3Gf2pNiLszFb0bmUQQjxzaJNmhVEAYSt9ZemSpVtC/CQ Hs7H8LzSTamoPR6YGtayI7mn+5jjaYOtRTxd3leBlTopGLSv/Kj24Spqn2nDyKoC 0EvBKnFPZulYuZRTe3tlT85HZr6PdQpLgfeCdMrjy0NnA/whrU+ylmTJtuVIsW/C P8azuoFdesoOdFxo54l0X2ePNRnwOk/4bZjGi2RQjhncbfNEJyTmnT+7o+fUHCrG WW6eIoa/52meJuj5uhf9sWB9Kyn6f3qrY4Yxk1UnrUiOnsxDgx5ZWstA= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TmJlt_W-IIqr; Wed, 8 Sep 2021 16:25:07 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id 8BC5C82F; Wed, 8 Sep 2021 16:25:07 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx001.mykolab.com (Postfix) with ESMTPS id C4901BBD; Wed, 8 Sep 2021 16:25:05 +0200 (CEST) Date: Wed, 08 Sep 2021 11:24:58 -0300 Message-ID: <4496487.tbocOU4WJe@popigai> In-Reply-To: <87czpj2ml9.fsf@gnu.org> References: <20210901191443.59352-1-bauermann@kolabnow.com> <87czpj2ml9.fsf@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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" Reply-to: Thiago Jung Bauermann X-ACL-Warn: , Thiago Jung Bauermann via Guix-patches From: Thiago Jung Bauermann via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631111177; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=NJReM1gElqlH3mf0jnx87wfN47PprAVJcWuoOs266lo=; b=a79j/zF3cd20ScgOWEFCWXZYPTkyb32aVWfL0wZeIv3dy5GH+GLdaQVX9VJY1NdNDYpJct BDp7+0DoCQyecZCsPHCgW8uK6OyM5N5dW/DH0MKa/gPc2DMvPXziDQv4fRcvA4YFQ40Vj7 QnS6IKUFhCSCV39fRgUFsVBPEm5F8i230sGXVxjYYb+VDhS2q2dtoRmE6bQGhHsqGMo54x hp77ZfOvTtaZSu6ws/T5Sh4MeUsqzgGgeYMJ4zWGsNM8Ohi68duoZ3fpM/8+xHGJUu0RKD LWMd3nUM/piZGJFGpyV72x3ZlGSueCcBP/vU+Aw8zsKSfpAsOG23v2ISnIs7Sw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631111177; a=rsa-sha256; cv=none; b=JJ2hlswNOS+RpvzbgFSsY6uR0ztUWNcVaNB4bNDBy6Lad6CJRl8MjNxRB6IR869rAqImWD bJOy2Y3pgAO9l1q+f2TxvSsYWNKbXCITtkhL24soe9MJWS+cqaM3mYu1WtxrlaOeb06IeY B9U9bNs4FYbTtfx6sE6VEs1SRuB+c1dGODV1bMmGG0BeZcM1gMPWsaHL9+FDs/lOXtP1PK CcD9ySiCcbYvBUWgF0JV9RKzJbtHSzD+HMau60V258RlbLzSZSyvxivStvXAbleix8C+vJ ySVCZzHVM8cjrcNfUG20QQVzF+YFByuOt492EStDmXSo249msZsmYNd1uCsUkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b="bEdl/2gG"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b="bEdl/2gG"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: CF09D2D0D9 X-Spam-Score: -2.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: +kj8zudxren2 Hello Ludo! Em quarta-feira, 8 de setembro de 2021, =C3=A0s 11:01:06 -03, Ludovic Court= =C3=A8s=20 escreveu: > Hello! >=20 > Thiago Jung Bauermann skribis: > > * etc/cuirass-remote-worker.service.in: New file. > > * doc/cuirass.texi: Mention it. > > * .gitignore: Ignore it. > > * Makefile.am (noinst_SCRIPTS): Add > > =E2=80=98etc/cuirass-remote-worker.service=E2=80=99. > > (EXTRA_DIST): Likewise. > > (etc/cuirass-remote-worker.service): New target. > > * configure.ac: Check for =E2=80=98(guix config)=E2=80=99 module. > > Set =E2=80=98guix_localstatedir=E2=80=99 variable. > > --- > >=20 > > Hello, > >=20 > > This patch adds the systemd unit file I installed on guixp9. The > > configure script finds out Guix=E2=80=99s localstatedir and substitutes= it in > > etc/cuirass-remote-worker.service.in. The service file isn=E2=80=99t in= stalled > > anywhere and the user is supposed to get it from the build directory if > > they want to use it. > >=20 > > I did it this way because there=E2=80=99s no $PREFIX/doc/examples direc= tory > > or equivalent where it could be shipped, and I thought that it would > > be excessive to add it to all Cuirass installations considering that > > only a few of them would actually have a use for it. But I can send a > > v2 making this change if people think it would be better. >=20 > With this approach, the user has to get the source and configure it, > which is somewhat annoying. Yes, that is true. > I=E2=80=99d prefer installing it to $sysconfdir, similar to how we do it = in > Guix. That makes it easier for interested users to locate the right > .service and to install it, right after they=E2=80=99ve done =E2=80=98gui= x install > cuirass=E2=80=99. >=20 > WDYT? I think it=E2=80=99s a good idea. > If that=E2=80=99s fine with you, I=E2=80=99ll happily push v2 on your beh= alf! Of course! Feel free to do that. Thank you for the offer, and for reviewing= =20 this patch! =2D-=20 Thanks, Thiago