From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Starting user services at boot Date: Mon, 13 Feb 2017 10:30:10 +0100 Message-ID: <878tpah1zx.fsf@gnu.org> References: <20170212195413.GA8296@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdCxl-00010s-Qy for help-guix@gnu.org; Mon, 13 Feb 2017 04:30:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdCxg-0006BD-Qv for help-guix@gnu.org; Mon, 13 Feb 2017 04:30:25 -0500 In-Reply-To: <20170212195413.GA8296@jasmine> (Leo Famulari's message of "Sun, 12 Feb 2017 14:54:13 -0500") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Leo Famulari Cc: help-guix@gnu.org Hi Leo! Leo Famulari skribis: > Does anyone have advice about how to start an unprivileged user's > services when the system boots? > > On other systems, I could at least invoke them in /etc/rc.local, but I'm > not sure how to do it on GuixSD. Currently I run shepherd as myself, which reads from ~/.config/shepherd/init.scm. It gets started from my ~/.xsession. Admittedly this is a bit of a hack. It wouldn=E2=80=99t be hard to define per-user Shepherd instances as global Shepherd services in GuixSD, if you see what I mean. Another option would be to add support for this directly in the Shepherd, which has pros and cons. HTH! Ludo=E2=80=99.