From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kKHcLYxAqWCwEQAAgWs5BA (envelope-from ) for ; Sat, 22 May 2021 19:34:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QCqUKYxAqWAzJQAA1q6Kng (envelope-from ) for ; Sat, 22 May 2021 17:34:04 +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 4721925F14 for ; Sat, 22 May 2021 19:34:04 +0200 (CEST) Received: from localhost ([::1]:59354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkVVj-00022o-Ap for larch@yhetil.org; Sat, 22 May 2021 13:34:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkSpk-0000t1-Cj for guix-devel@gnu.org; Sat, 22 May 2021 10:42:32 -0400 Received: from mx1.riseup.net ([198.252.153.129]:54498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkSpi-0002vq-8C for guix-devel@gnu.org; Sat, 22 May 2021 10:42:31 -0400 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FnR5c6DylzF2rw; Sat, 22 May 2021 07:42:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1621694548; bh=U1mwU+uaD/Cfs2kwVvSs6QDqM46QOvywMcmUFw+gBYw=; h=Subject:From:Reply-To:To:Date:In-Reply-To:References:From; b=nrkCoIvPpOfpIwP1o2TSJAn0/z9vQ0vwpIlCEhDBNu7CkdKcJPwK7MDR7kJyG+qjc jOM4+fPdKEFTosGPCW3rDHQq370piNT3v/cpXHQHPr9qPl4Jt2VKA7nom6UFP3432N lxDAi7DXUSLHdKfV1CgpvsX8Z0lb6rC5WOUk5qWM= X-Riseup-User-ID: CF09BB4A99A7DD02C2300FADD75D077B4EB231A28FB048232AEDCB1EFF179D9A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4FnR5b61qcz1xph; Sat, 22 May 2021 07:42:27 -0700 (PDT) Message-ID: <45a41f14d3ac9520c8ba2c008e07016ffdb80ec7.camel@riseup.net> Subject: Re: blog post about shepher user services From: Adriano Peluso To: Leo Prikler , guix-devel@gnu.org Date: Sat, 22 May 2021 16:42:24 +0200 In-Reply-To: <271fa5472abb10d85143d023396ce8d8f77c0000.camel@student.tugraz.at> References: <271fa5472abb10d85143d023396ce8d8f77c0000.camel@student.tugraz.at> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=randomlooser@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 22 May 2021 13:33:29 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: randomlooser@riseup.net Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621704844; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+OflWecRG/E8N4Ltc7mggW5IB3aIAgMiXYhvf+up/5M=; b=V8vG7WI+nfsjGg0M32Ob31fEide8gYKLVN2Xmydp/xfqR0dQQ5VNME5wYCfvnFqQv8dAq3 IDldKBOK1dbiIa+wF4d+xwtm0q7dGF3RvsS5huxyGZdjlcFEKSsJv41qVNmhJz/7dIA/p0 MhSYmFgamcIs+IA996m0eJHBOjaECuD3AJnIDOWOcH/IwrvmIkgz97FRwr6DJNs217pg/F YxqaaPK/MXBiInHx6cVtd5ia7q6GMn7ZIl5wFKA9WCqR9KGZXVth/ktkpw/65qtuuImVV0 /wJzAezMHpnGIpt8croen3zBG/zzdRAISSQ9O6o6uNGRVvmPjRDANmTh9WfpHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621704844; a=rsa-sha256; cv=none; b=HEnII+SCN/s/ZnlPo0Xt2Wssz/gSH7yqhNa4Rj98wCG+NxZFi8G7HLIffea+KWhGPCEqM7 oDImtv0JPuKGHyjoytXDdiI/3vkI4/TJTikYAtyrK4FsaksjgqxRS35PP+AReldgZIx/7O 1Jv4Z5V5ZArBcBT9DwollAB7Zeh1cpvHCFDCNNacC4ANXQNSvAA82dU+5vj/h7lYhNYzVG 8TVRzvfjV3qI1n6DkoX8gEaJMCi9h2mGnffFNJ7aGTbXb2kgit5jaJqaeheCqDF4nlYeQZ 6LFyhpE1EVBAW9xQWCf9dgcEiq2QQBVm0dX1vP6kHjsfuqkNIwq1LMAR8GHLgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=nrkCoIvP; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=nrkCoIvP; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 4721925F14 X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: ctapwPv3Akcb Il giorno sab, 22/05/2021 alle 15.49 +0200, Leo Prikler ha scritto: > Hi, > > the blog post you've linked >   > https://guix.gnu.org/en/blog/2017/running-system-services-in-containers/ > seems to neither contain mentions of XDG_CONFIG_DIR, nor mcron. > > Did you mean >   https://guix.gnu.org/en/blog/2020/gnu-shepherd-user-services/ > instead? yes, I pasted the wrong one, sorry > > FWIW, $XDG_CONFIG_DIR should be $XDG_CONFIG_HOME, I myself always mix > those up as well.   Good to know > As far as mcron integration is concerned, it doesn't > look as though this has been done yet and I think work remains to be > done to have mcron running "as a part of shepherd" rather than as its > own daemon.  You can right now already run regular cron-jobs through > mcron just how people did before systemd was a thing.  You just need > to > make sure you launch mcron as a user service if you want to go with > this particular configuration style, otherwise mcron as a system > service ought to suffice as well. > > Regards, > Leo > Ok, thanks