www/odoo: rc.d pexp stops matching once the daemon re-execs on SIGHUP
Jean-Gérard <[email protected]> Mon, 27 Jul 2026 09:57:59 +0200
| Newsgroups | gmane.os.openbsd.ports |
|---|---|
| Message-ID | <[email protected]> |
Hi Robert,
odoo-19.0.20251208, OpenBSD 7.9/amd64 (GENERIC #4, Jul 14 2026).
`rcctl check odoo` reports odoo(failed) while the server is running fine and
answering on 8069. The pexp shipped in pkg/odoo.rc requires the absolute path of
the interpreter, and odoo drops it when it re-execs itself.
[...]
Index: pkg/odoo.rc
-pexp="${MODPY_BIN} ${daemon}${daemon_flags:+ ${daemon_flags}}"
+pexp="(${TRUEPREFIX}/bin/)?python${MODPY_VERSION} ${daemon}${daemon_flags:+ ${daemon_flags}}"
Regards,
Jean-Gérard Pailloncy