Re: gpg-agent runit run script

From: João <>
Date: Fri, 30 Sep 2022 11:06:29 +0200

Hello Alexis,

On Thu, Sep 29, 2022 at 10:12:49PM +1000, Alexis wrote:
> João <> writes:
> > The Void linux manual shows gpg-agent running as an example, but they
> > don't show
> > the run script, so I don't know how they set it up.
> >
> Duncaen's run script for gpg-agent is here:
> It's actually an execline script that makes use of
> s6-ipcserver-socketbinder. Also note that the script calls gpg-agent with
> `--supervise`.

Thank you for this. It is helpful to look at an example.

> > This is a pity as gpg-agent is a long running process which is the
> > sort of thing
> > you would want to run under supervision.
> Well, the typical reason we want to run something under supervision is to
> ensure it's up, because (a) there are processes relying on it being up, and
> (b) those processes aren't themselves able to start the relevant process.
> But this isn't the case with gpg-agent: the main programs that utilise it
> know how to start it themselves if necessary, so it doesn't matter if a
> gpg-agent process exits abnormally, as a new one will get created when
> required.

You have a point. But I guess you still loose a common consistent way of
checking the status and controlling the processes in your system.

Best regards,
Received on Fri Sep 30 2022 - 11:06:29 CEST

This archive was generated by hypermail 2.4.0 : Fri Sep 30 2022 - 11:07:08 CEST