Re: Looking for reviews PR 279803 Diff D45618 www/tt-rss simplify rc script

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Mon, 17 Jun 2024 07:02:33 UTC
Am 2024-06-17 02:01, schrieb Derek Schrock:
> Looking for reviews of the simplification of the ttrssd script from
> www/tt-rss.

I suggest to add an UPDATING entry which tells about the ttrssd_local_db 
variable.

> While looking to add status I realized with daemon the need to
> check/wait for a local database could be transitioned in to daemon's -r
> -R options retrying the child process on failure and move this to
> command and command_args.
> 
> The only remaining issue that could occur is when the service needs to
> be stopped and doesn't have a child process.  It appears daemon eats 
> the
> signal until it's running a child and if the rc needs to handle this.

See the -P option for daemon. It's used in
/usr/ports/www/oauth2-proxy/files/oauth2_proxy.in

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF