The attached script updates a couple things which effectively is the same as the current model however it follows the modular nature of the declarative syntax. Split out the -b and -m start-stop-daemon options into command_background="yes"
Created attachment 757342 [details] git-daemon-r1.initd Updated script Signed-off-by: Brian Evans <grknight@gentoo.org>
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f0c4602e9576233e24bc7da1eaca379421c6aee commit 6f0c4602e9576233e24bc7da1eaca379421c6aee Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-12-06 08:55:08 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-12-06 09:01:17 +0000 dev-vcs/git: Improve OpenRC script git-daemon Thanks-to: Brian Evans <grknight@gentoo.org> Closes: https://bugs.gentoo.org/828098 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> dev-vcs/git/files/git-daemon-r2.initd | 14 + dev-vcs/git/git-2.34.1-r1.ebuild | 667 ++++++++++++++++++++++++++++++++++ dev-vcs/git/git-9999-r1.ebuild | 2 +- dev-vcs/git/git-9999-r2.ebuild | 2 +- dev-vcs/git/git-9999-r3.ebuild | 2 +- dev-vcs/git/git-9999.ebuild | 2 +- 6 files changed, 685 insertions(+), 4 deletions(-)
Should pidfile still be /var/run/... and not just /run/...