From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4APgCf8LqWD3MwEAgWs5BA (envelope-from ) for ; Sat, 22 May 2021 15:49:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mCWhBf8LqWDmMQAAB5/wlQ (envelope-from ) for ; Sat, 22 May 2021 13:49:51 +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 A763F22E6A for ; Sat, 22 May 2021 15:49:50 +0200 (CEST) Received: from localhost ([::1]:54834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkS0j-0001pN-ND for larch@yhetil.org; Sat, 22 May 2021 09:49:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkS0a-0001pE-Rs for guix-devel@gnu.org; Sat, 22 May 2021 09:49:41 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:25063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkS0X-0000nc-Up for guix-devel@gnu.org; Sat, 22 May 2021 09:49:40 -0400 Received: from [10.0.0.4] (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FnPwT4P4Wz1DH6m; Sat, 22 May 2021 15:49:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4FnPwT4P4Wz1DH6m DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1621691369; bh=5ZzCVoc0qwUeI+LySNjloqr+ICuKNtXnXkw+nGeUmwI=; h=Subject:From:To:Date:In-Reply-To:From; b=bJtOUBMzeeKFTcais6NRhcCdE2dVKSEvAW+EEwF0uyPosSKz41qKFqaCTuC2kdsGo FjvSUSJ2+sARyGgbigJfDZyVfoodv4Okc2f+gU0nEQ3f1ic+6eOmE2H4IBOe9Y3Vne KdfMwe5nadBkM17S05lkDpA+D/pyJn5igIORJdDg= Message-ID: <271fa5472abb10d85143d023396ce8d8f77c0000.camel@student.tugraz.at> Subject: blog post about shepher user services From: Leo Prikler To: randomlooser@riseup.net, guix-devel@gnu.org Date: Sat, 22 May 2021 15:49:03 +0200 In-Reply-To: e4cd745caa32da622c9567ba02aed69ca9f67c74.camel@riseup.net Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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=1621691390; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5ZzCVoc0qwUeI+LySNjloqr+ICuKNtXnXkw+nGeUmwI=; b=msKG4W8dAmP31k/TAjgBHtJa2FyWrYEGdrSpqm6rDnofCArQWQaGPz7MG76K/X8jj8qtS/ gJYTCqiwTGN31nf708ZtYIGlDLLeWKdXaAypJShVa0+IDqfcR4Jh5jIGWfLc+aX5Sk1Qvy aQ3mi3MtHK/EwNkcSVNM74r6xrdTV2gp6D/qkZ3e2B4FS/vINovH0xM03pxDLkbGenm3Jb CZ3EJQfPj96LWK19nE0z0/aUTNofdpg45ZmlL6rZv2NC8GQuCOoyFUpD7IMNLCn0ZQ03/N K/q732oOZbLpJij279ArDsC0fVijFkyJ45n5aabwrPndYPN738eLcq2sQy5L3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621691390; a=rsa-sha256; cv=none; b=pf9pX+LhCT82pENNZGus3exOuRQiACwfnSDz2sppO8hqZve/chlkAqB3jhALdFMUSqvaMH xDYp6xtJXMIgrBfrKkSyInwPWbezJdx7/4PA55lET4qpKpZa3IFkFMDAveSjkldBup0xmZ yom3d33mhUhrePnm8cO6ZIZc3JWyHtZNu0TiqJUbP2wvMfO5rxKVCKcM8sg9f4KqyA5rJu u5JBm6tYRYwbuBAZJocAP/I0GkrV/uoa5qppwcCY7MD4YpGmAriLZH4fFibi4vy6cYGhaf ulxmmlUYicm2ofqqn7KHbXH4KHLl9w15DgzTFMath9JtNlO6wrURsQZHpannbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=bJtOUBMz; dmarc=pass (policy=none) header.from=student.tugraz.at; 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=tugraz.at header.s=mailrelay header.b=bJtOUBMz; dmarc=pass (policy=none) header.from=student.tugraz.at; 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: A763F22E6A X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: pTXlI8T/cI4W 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? FWIW, $XDG_CONFIG_DIR should be $XDG_CONFIG_HOME, I myself always mix those up as well. 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