From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hamzeh Nasajpour" Subject: Re: shepherd as normal user Date: Fri, 04 Oct 2019 12:00:34 +0330 Message-ID: <7e1c2050-e081-43dc-8382-de8cece63db0@www.fastmail.com> References: <7fe0ffe0-cbc3-480b-9d4d-b84d890a62a6@www.fastmail.com> <20191004005857.3ku6m62sfcjbww57@n0> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40954) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGIzK-00007K-D0 for help-guix@gnu.org; Fri, 04 Oct 2019 04:30:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGIzJ-0006wf-2P for help-guix@gnu.org; Fri, 04 Oct 2019 04:30:58 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:33651) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iGIzI-0006wR-MX for help-guix@gnu.org; Fri, 04 Oct 2019 04:30:57 -0400 In-Reply-To: <20191004005857.3ku6m62sfcjbww57@n0> 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: ison Cc: help-guix@gnu.org Thanks for your reply. It's a good example. But my main problem is running `shepherd` as normal user automatically. 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=1 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 >