[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shepherd as normal user
From: |
Hamzeh Nasajpour |
Subject: |
Re: shepherd as normal user |
Date: |
Sat, 05 Oct 2019 09:09:36 +0330 |
User-agent: |
Cyrus-JMAP/3.1.7-360-g7dda896-fmstable-20191004v2 |
> 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 <address@hidden> 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