Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2024 12:45:20 -0400
From:      Paul Procacci <pprocacci@gmail.com>
To:        questions@freebsd.org
Subject:   Re: Just lost a few hours playing with daemon(8) and trying to set a path in an rc.d script
Message-ID:  <CAFbbPui74gDzbv3eAZy9BQkxpvM-3izdwNHRiztdzOrYoeBqDQ@mail.gmail.com>
In-Reply-To: <8fXRlSIAQNNPGjsq@aceecat.org>
References:  <8E35B5EC-0C32-4783-B169-1600C5B003A7@gushi.org> <8fXRlSIAQNNPGjsq@aceecat.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000059796106221711bd
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, Sep 14, 2024 at 12:40=E2=80=AFPM <fatty.merchandise677@aceecat.org>=
 wrote:

> On Sat, Sep 14, 2024 at 01:23:51AM GMT, Dan Mahoney (Ports) wrote:
>
> > Dyjob have a service (etherpad lite) that we start from rc.d, using
> > daemon, but it runs as an unprivileged user and needs a special PATH
> > (because npm wants to install and update its own modules.  I hate
> > this, but this is the reality).
>
> I usually run things of this nature from supervisord.
>
> --
> Ian
>
>
.. and I usually run these types of things from D.J.B's supervisor.  (
https://cr.yp.to/daemontools.html)
There's lots of ways to skin this cat.

~Paul
--=20
__________________

:(){ :|:& };:

--00000000000059796106221711bd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div dir=3D"ltr"><br></div><br><div class=3D"gma=
il_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Sep 14, 2024 at 12:=
40=E2=80=AFPM &lt;<a href=3D"mailto:fatty.merchandise677@aceecat.org">fatty=
.merchandise677@aceecat.org</a>&gt; wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">On Sat, Sep 14, 2024 at 01:23:51AM GMT, Dan Maho=
ney (Ports) wrote:<br>
<br>
&gt; Dyjob have a service (etherpad lite) that we start from rc.d, using<br=
>
&gt; daemon, but it runs as an unprivileged user and needs a special PATH<b=
r>
&gt; (because npm wants to install and update its own modules.=C2=A0 I hate=
<br>
&gt; this, but this is the reality).<br>
<br>
I usually run things of this nature from supervisord.<br>
<br>
-- <br>
Ian<br>
<br>
</blockquote></div><br clear=3D"all"></div>.. and I usually run these types=
 of things from D.J.B&#39;s supervisor.=C2=A0 (<a href=3D"https://cr.yp.to/=
daemontools.html">https://cr.yp.to/daemontools.html</a>)<br></div><div>Ther=
e&#39;s lots of ways to skin this cat.</div><div><br></div><div>~Paul<br></=
div><div><div><span class=3D"gmail_signature_prefix">-- </span><br><div dir=
=3D"ltr" class=3D"gmail_signature">__________________<br><br>:(){ :|:&amp; =
};:</div></div></div></div>

--00000000000059796106221711bd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFbbPui74gDzbv3eAZy9BQkxpvM-3izdwNHRiztdzOrYoeBqDQ>