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 cIKvDbXCOGG33gAAgWs5BA (envelope-from ) for ; Wed, 08 Sep 2021 16:03:33 +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 EOcnCbXCOGGKRgAA1q6Kng (envelope-from ) for ; Wed, 08 Sep 2021 14:03:33 +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 83C8F2C746 for ; Wed, 8 Sep 2021 16:03:32 +0200 (CEST) Received: from localhost ([::1]:51832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNyAl-00016F-Iz for larch@yhetil.org; Wed, 08 Sep 2021 10:03:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNy9K-00080n-8L for guix-patches@gnu.org; Wed, 08 Sep 2021 10:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNy9J-00009v-VA for guix-patches@gnu.org; Wed, 08 Sep 2021 10:02:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNy9J-0006ay-ON for guix-patches@gnu.org; Wed, 08 Sep 2021 10:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50326] [PATCH cuirass] Add systemd unit file for remote worker service. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Sep 2021 14:02:01 +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: Thiago Jung Bauermann Cc: 50326@debbugs.gnu.org Received: via spool by 50326-submit@debbugs.gnu.org id=B50326.163110967925302 (code B ref 50326); Wed, 08 Sep 2021 14:02:01 +0000 Received: (at 50326) by debbugs.gnu.org; 8 Sep 2021 14:01:19 +0000 Received: from localhost ([127.0.0.1]:33212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNy8d-0006a2-Au for submit@debbugs.gnu.org; Wed, 08 Sep 2021 10:01:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNy8Z-0006Zn-Dd for 50326@debbugs.gnu.org; Wed, 08 Sep 2021 10:01:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43760) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNy8T-0007uc-Vh; Wed, 08 Sep 2021 10:01:09 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35398 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNy8S-0003RA-1f; Wed, 08 Sep 2021 10:01:09 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210901191443.59352-1-bauermann@kolabnow.com> Date: Wed, 08 Sep 2021 16:01:06 +0200 In-Reply-To: <20210901191443.59352-1-bauermann@kolabnow.com> (Thiago Jung Bauermann's message of "Wed, 1 Sep 2021 16:14:43 -0300") Message-ID: <87czpj2ml9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631109812; h=from:from:sender:sender: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; bh=IRJVRtroETMZopX0hj1h93tUUAKiQpLCukLbvsQprqs=; b=OH77937edTzDDXJcSJFhGdKqR4OV90A8RyXPRDP7rXqGszOgAyQdXM8C/svdnlB3yejK3l DTimR8ZImwMr8Xyn4+HUP5Y55Rc5oDXAIUey3fVxLyG+rUwn5/3J6DIoFWWl6+/rHg1U5H goo+kQEJDO+qsHVM3anudLHH6n/yACjMbc8CQzUftOi7HktyIdnPuXnjYDXo3ce8OzJOba HHjBNmcT7yE7kwmPZv0JAuy6HMD8y4SJtTyPWUV+qJIj6fnK+JRTHG/DOCg6qA/Rh7PKZV G1uCx4dStWOAANCykbKY4jL8LGConby5FmVjb6uxQIRIHJvZXxvmiV95ro6m4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631109812; a=rsa-sha256; cv=none; b=Q3rj/K9uzlbyeEjISOx9100oGPWl1fFs/ycKPZtndcE6v9cYitaXzElxEDUfdBpMq79ZHE xjNFkw2Luqo0MfqDkzoudNCW48y3zBZLrFwoh3LPxhv79s4XA2zlnkF0BmCqAgTsqN88Mk 81BgMLUuUPkUPFFUwtA8R4BOppESTgesF8QMzVWf2gKDC96SosH2U7OL9lcqFmbGt5f0Zt W2fL8n/bpeZnaHTAb++7d/xoxH6Sc7lALRn9do/BIEbG8GGvVQ/VO/DjRk8X9iHcKfV8OW 6ezSWM2Ozr5VvRJHskPBO/og7cU+cVnc2/zsDK7EocNKoLyQEXSgnkw1KOP1cA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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.91 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 83C8F2C746 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: zv58YjoO9fLQ Hello! 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.se= rvice=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. > --- > > Hello, > > This patch adds the systemd unit file I installed on guixp9. The > configure script finds out Guix=E2=80=99s localstatedir and substitutes i= t in > etc/cuirass-remote-worker.service.in. The service file isn=E2=80=99t inst= alled > anywhere and the user is supposed to get it from the build directory if > they want to use it. > > I did it this way because there=E2=80=99s no $PREFIX/doc/examples directo= ry > 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. With this approach, the user has to get the source and configure it, which is somewhat annoying. 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=98guix = install cuirass=E2=80=99. WDYT? If that=E2=80=99s fine with you, I=E2=80=99ll happily push v2 on your behal= f! Thanks, Ludo=E2=80=99.