From nobody Mon Jun 17 07:02:33 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W2gnj701Vz5NWCx for ; Mon, 17 Jun 2024 07:03:05 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W2gnh6sThz48lH for ; Mon, 17 Jun 2024 07:03:04 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=io6GtDm5; dmarc=pass (policy=quarantine) header.from=leidinger.net; spf=pass (mx1.freebsd.org: domain of Alexander@Leidinger.net designates 89.238.82.207 as permitted sender) smtp.mailfrom=Alexander@Leidinger.net List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1718607771; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NZTkYTvsTAHj9LUmp/1rU+rvyrxWUZdLzwEa44NDAmo=; b=io6GtDm5Y3SV9oFLY9XXOuEDmUp9EhEfRk6QN5HjEQ+0vXicinEZJwKexmDkYb2ku+UXir IUkcZWS0znhHqIY5QQInwXZ675JBMB8HWC9BwXmkbSZDZX44yjFRNp/B6pykhoGrmqEF7I LxM+mTlfXV/uxy9Ohhv6htWnWqzxmu9thbGwHszuEvmBHYkpQXSDQuW8KHg6VIBSx1Aemn dgz7kSODFL4FuQ7RCE4vjSpFy0/z8zcFElp3Jcx5Goe53B0WSOh3KUgtB6bTQhMdbqCDF/ QLIzycc7UiWJue9xJMuqK6jfmO7kUrkMMph5hM9F9HhvIjc6TeBeGtc8u9sSyA== Date: Mon, 17 Jun 2024 09:02:33 +0200 From: Alexander Leidinger To: freebsd-ports@freebsd.org Subject: Re: Looking for reviews PR 279803 Diff D45618 www/tt-rss simplify rc script In-Reply-To: References: Message-ID: Organization: No organization, this is a private message. Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_3263fec9fa09016758a49b6423fdfea9"; micalg=pgp-sha256 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.10 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE]; HAS_ORG_HEADER(0.00)[]; DKIM_TRACE(0.00)[leidinger.net:+]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; HAS_ATTACHMENT(0.00)[] X-Rspamd-Queue-Id: 4W2gnh6sThz48lH This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_3263fec9fa09016758a49b6423fdfea9 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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 --=_3263fec9fa09016758a49b6423fdfea9 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmZv35gACgkQEg2wmwP4 2Ib/ug/+L3fylPjYCoaTSgCdR/UCPG94fNZD2lS22FenWpWFwtQ9wYzWd7q7JVxv 1baj8qWosqmkw5CyzBw39Fq2c0vRhsYITugeh+IUWDv1FHSyxodp6l9wgKyaE2ZG JgsDfc30MGI+j3rIby+W3shQdoGjlaLiQvSjruy5BhMhyU26wGshGOlnBelTg86n W1gSsKciH3NFs1RRbnVT4ZGlPnYOoE3QpCV1G01W0HNiebJ4vJh5AH2H55blZryT Lua4UMiOsNgQS8GcyUuM/niX3pnyOJHUo3ZG4Ko+udx96JdRnWkZP4Yz/P2r7iii p7xFErFhKySZUPOLjsjrbd6nFgeKCgmYbHHJZ9a2HKAXhpNV+rUCx2fX5wfYyqSe ejUEmWy4ez4xarbUaqFD8Q9OgSewuANvnYTSUioZwKQ8DWmJyQxipAsOa2B8qSrG cDk/mJqZPqs9jj1jp59ezFZiwSq5BuXUECEd0ddC7KR0lIhcVK66cugi3ctCn7hq Hoz+6BUW4l7m43hqhObfs4SwtS2RJl7mRIbz2nGuNBNpqeovMVl4BhmML9dWQL6r 2siQvxOj6YxWsEru/4PEDzfEQlvr1hna+wlNBKnDKpUgHqMbMuOYWrYz47Be+U27 lYDFBhysdqW9QD7bEMNVPfjgm1l2sVigexpR7I1XWSWZDtQBcS8= =domG -----END PGP SIGNATURE----- --=_3263fec9fa09016758a49b6423fdfea9--