From: "Hamzeh Nasajpour" <h.nasajpour@pantherx.org>
To: "Gábor Boskovits" <boskovits@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: shepherd as normal user
Date: Sat, 05 Oct 2019 09:09:36 +0330 [thread overview]
Message-ID: <19cba65c-8cd0-469c-87e2-b0e46ca22f0a@www.fastmail.com> (raw)
In-Reply-To: <CAE4v=piqL408Ep=ETXqErgzyyu+qC=qhmZb32QFSPq5CdodUEg@mail.gmail.com>
> I believe you can add it to some shell startup files, or session startup script. It depends on you environment.
I'm looking to find a way to configure the `shepherd` with `config.scm` (system reconfigure ...).
The startup script is a workaround but it has some problems, for example, multi-login/multi instance of shepherd and so on.
Do you have any idea?
On Fri, Oct 4, 2019, at 6:49 PM, Gábor Boskovits wrote:
> Hello,
>
> Hamzeh Nasajpour <h.nasajpour@pantherx.org> ezt írta (időpont: 2019.
> okt. 4., Pén 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=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
> > >
> Best regards,
> g_bor
next prev parent reply other threads:[~2019-10-05 5:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-03 21:59 shepherd as normal user Hamzeh Nasajpour
2019-10-04 0:58 ` ison
2019-10-04 8:30 ` Hamzeh Nasajpour
2019-10-04 15:19 ` Gábor Boskovits
2019-10-05 5:39 ` Hamzeh Nasajpour [this message]
2019-10-05 7:37 ` Gábor Boskovits
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19cba65c-8cd0-469c-87e2-b0e46ca22f0a@www.fastmail.com \
--to=h.nasajpour@pantherx.org \
--cc=boskovits@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).