From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: shepherd as normal user Date: Fri, 4 Oct 2019 17:19:38 +0200 Message-ID: References: <7fe0ffe0-cbc3-480b-9d4d-b84d890a62a6@www.fastmail.com> <20191004005857.3ku6m62sfcjbww57@n0> <7e1c2050-e081-43dc-8382-de8cece63db0@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37211) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGPN6-00015Q-Bb for help-guix@gnu.org; Fri, 04 Oct 2019 11:19:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGPN3-0008Uq-A0 for help-guix@gnu.org; Fri, 04 Oct 2019 11:19:56 -0400 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]:46882) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iGPN2-0008UD-Dn for help-guix@gnu.org; Fri, 04 Oct 2019 11:19:52 -0400 Received: by mail-ed1-x52b.google.com with SMTP id t3so6170681edw.13 for ; Fri, 04 Oct 2019 08:19:52 -0700 (PDT) In-Reply-To: <7e1c2050-e081-43dc-8382-de8cece63db0@www.fastmail.com> 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: Hamzeh Nasajpour Cc: help-guix Hello, Hamzeh Nasajpour ezt =C3=ADrta (id=C5=91pont: 20= 19. okt. 4., P=C3=A9n 10:31): > Thanks for your reply. > > It's a good example. But my main problem is running `shepherd` as normal > user automatically. > I believe you can add it to some shell startup files, or session startup script. It depends on you environment. > > For now, I've to run it manually. > > > > On Fri, Oct 4, 2019, at 4:28 AM, ison wrote: > > On Fri, Oct 04, 2019, Hamzeh Nasajpour wrote: > > > Hi, > > > > > > I'm going to run `shepherd` as a normal user automatically (at > startup). How can I do that? > > > > > > I know the `shepherd` will be run as root with PID=3D1 in the init > system, but I have some services that should be run by `shepherd` for > normal users. > > > > > > Regards, > > > Hamzeh > > > > It doesn't seem to be documented anywhere I could find, but there was a > > simple example posted to this mailing list a while back that helped me: > > https://lists.gnu.org/archive/html/guix-devel/2019-04/msg00580.html > > > Best regards, g_bor >