Created attachment 240161 [details] add SHEBANGFIX This patch fixes this issue when starting vspheredb: env: php: No such file or directory The patch changes the first line of /usr/local/www/icingaweb2/bin/icingacli from #!/usr/bin/env php to #!/usr/local/bin/php This allows the rc.d script to successfully start the daemon.
(In reply to Dan Langille from comment #0) Hi Dan, this looks like a duplicate of 267367, submitted by you :) ? As that timed out a long time ago i think it's safe to commit based on maintainer timeout. This patch also includes extra hunks that don't belong here I think.
(In reply to Florian Smeets from comment #1) Wow, back in October. I'd forgotten about that. I encountered the problem again today... Yeah, extra patches included unintentionally. Thanks. I'll remove that.
*** This bug has been marked as a duplicate of bug 267367 ***
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bf8338b77fa98dbb1cfe87da864e2af994ef1ace commit bf8338b77fa98dbb1cfe87da864e2af994ef1ace Author: Dan Langille <dvl@FreeBSD.org> AuthorDate: 2023-02-14 20:47:16 +0000 Commit: Dan Langille <dvl@FreeBSD.org> CommitDate: 2023-02-14 20:48:38 +0000 net-mgmt/icingaweb2: add SHEBANG fix for bin/icingacli PR: 269558 Approved by: maintainer (via private email) net-mgmt/icingaweb2/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
And I committed with the wrong PR. It should have been 267367