Small typo in files/nginx-unit.initd that prevents unitd from starting. Here is the patch: --- nginx-unit.initd.orig 2021-09-05 18:30:23.969745462 +0300 +++ nginx-unit.initd 2021-09-05 18:30:38.739773689 +0300 @@ -10,5 +10,5 @@ } start_pre() { - checkpath -d /var/lib/nginx-unit -o root:root 0770 + checkpath -d /var/lib/nginx-unit -o root:root -w 0770 }
The origin problem: /etc/init.d/nginx-unit restart * Caching service dependencies ... [ ok ] * checkpath: empty or relative path * ERROR: nginx-unit failed to start The "patch" is incorrect. Should be "-m" (or --mode) instead of "-w".
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e204f7e05cd1e8c7e5807ac54ad89027924a9d8a commit e204f7e05cd1e8c7e5807ac54ad89027924a9d8a Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2021-09-10 14:27:37 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2021-09-10 14:27:37 +0000 www-servers/nginx-unit: Version bump, eapi bump, fix bugs Add version 1.25.0 Add systemd unit file EAPI 8 bump Fix openrc init.d file Closes: https://bugs.gentoo.org/811744 Closes: https://bugs.gentoo.org/811747 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Mike Pagano <mpagano@gentoo.org> www-servers/nginx-unit/Manifest | 1 + www-servers/nginx-unit/files/nginx-unit.initd | 4 +- www-servers/nginx-unit/files/nginx-unit.service | 13 ++++ www-servers/nginx-unit/nginx-unit-1.25.0.ebuild | 87 +++++++++++++++++++++++++ 4 files changed, 103 insertions(+), 2 deletions(-)