From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kr+tDDV5d2BJUQAAgWs5BA (envelope-from ) for ; Thu, 15 Apr 2021 01:22:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uKzuATV5d2B4SQAAbx9fmQ (envelope-from ) for ; Wed, 14 Apr 2021 23:22:29 +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 589081C75C for ; Thu, 15 Apr 2021 01:22:28 +0200 (CEST) Received: from localhost ([::1]:42798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWoq2-0006sD-62 for larch@yhetil.org; Wed, 14 Apr 2021 19:22:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWopr-0006s2-9Z for help-guix@gnu.org; Wed, 14 Apr 2021 19:22:16 -0400 Received: from knopi.disroot.org ([178.21.23.139]:53744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWopo-0006m8-NW for help-guix@gnu.org; Wed, 14 Apr 2021 19:22:15 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 72FF150D36; Thu, 15 Apr 2021 01:22:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bpvQ-XCDjV32; Thu, 15 Apr 2021 01:22:09 +0200 (CEST) References: <87a6qag2dh.fsf@disroot.org> <5F18EF49-1BC9-49E3-AEC7-21B7C8361F52@lepiller.eu> <874kggfigv.fsf@disroot.org> <3F5B823B-3B83-42DB-AFBE-5966CBB66E71@lepiller.eu> <87zgy6epqv.fsf@disroot.org> <0FD89D97-0160-48F8-A167-411300F1631E@lepiller.eu> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1618442529; bh=PTTuRpePYVlua5e+A1DcrUUGVk7m3i2xBIZjmM1YUsw=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=C6prxWcbqz1L7I8NkFLgHFW3we62W12i/fQ7PiMFXLRC3+/7RBMlLVk6j5sqzA5Iy 489kpdSqbLdkXnY7XjcG/rsgqfG3CEfcd1Coabl+Tgz2q1wtgkDofh7Apv4bYIxJeQ y4XQonaVztUBfZCJ0jg9fD4APwvpQbCEPS+7bbyS3Y3JbrIH4MXyUYKgFvWgOAG5lT dnFnvBw1xv+xCtzQLRy8qLgFpNCajHalihuDmebMtGgZDYL2H2V4ZgbQN0JCI/lVqZ n83SqwIuZU1ECMpJ2dEA8MDRbBcgWGHMMWoxpFHXFIPVV6ed+kjXxXPPhgIOZUjs3s aQQTHHqImTDdg== From: Bone Baboon To: Julien Lepiller Cc: help-guix@gnu.org Subject: Re: How to create a service for contents of arbitrary file In-reply-to: <0FD89D97-0160-48F8-A167-411300F1631E@lepiller.eu> Date: Wed, 14 Apr 2021 19:22:07 -0400 Message-ID: <8735vsmoyo.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=bone.baboon@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618442548; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PTTuRpePYVlua5e+A1DcrUUGVk7m3i2xBIZjmM1YUsw=; b=Jxe3jtdl1Rxr+ZFyR+5616iB6d/It8f1DkWa88zcx0aC1YIb3vrOFpWjSrhML1npBg724/ csG9cEAn7TdNbiJuSJebH+8hNVQPr5H4q8Eot4cW0PFNrY2rHh9zygxNEcdiIeEWOGDacK pRADWkosNoi6Pigg7wsOiY+cbRr7xpAa181wl9jh5oVgMt3UtQ0TfyCHtsQ7NaBcakF4X4 XexUV7SO/jVolOWTJWCIgJdbszfjl+GLUfIEb+hMAj1/0o+82hKBNnCoMOaOuWUyx7CnYb fuRRteLlDhZw2OzIkBgRSwst0osIJW4jiT/yRv/yGpTLuOk2nPSopqVhSmGZLQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618442548; a=rsa-sha256; cv=none; b=Ef3lPpKzaiuRBi79yymsqT6Uosgifhf+yaRfZWOIklXOaZkRTGWZLJTlxTCKOvp0T/r5zW vrjUjK++IMPWgNL23aBOHgPLxLRsJ2Uw43No3c2pBCNtvpH7B0K4BZzPI7oGjbLqQNBtYT OPDcaWltnsQtFTCgfclGTpKgscr+3lX35I4vmAHCGaZL2Q3kaAwOdQLbIWM8oSfYbWoKC9 ziLTgdmPr5+ik+c4bsjHk9RmA3nMcjN6d9MWGVwJokLRqueL/4zYrQWOgbQ36f/Gf0ufEN YgJYEKGw8QErgxohQ5D6ljxVS3Poz7qEi49U5JrZEfnQespc8WY5b5y9kUTxFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=C6prxWcb; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=C6prxWcb; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 589081C75C X-Spam-Score: -2.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8YJ5rmIAnzvr Julien Lepiller writes: > No, Shepherd doesn't have a notion of stages. You can make it run a command at startup by using a normal service though. I use one on my server to set up static networking with ipv4 and ipv6 by running iproute. See https://git.lepiller.eu/system-configuration/tree/-/modules/config/network.scm Thank you for sharing this example. > Maybe there's another kernel argument you could use? I have searched for one but have not found it yet.