Date: Wed, 26 Oct 2022 16:28:15 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267367] net-mgmt/icingaweb2: add SHEBANG fix Message-ID: <bug-267367-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267367 Bug ID: 267367 Summary: net-mgmt/icingaweb2: add SHEBANG fix Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: dvl@FreeBSD.org Flags: maintainer-feedback?(joneum@FreeBSD.org) Assignee: joneum@FreeBSD.org Created attachment 237657 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237657&action= =3Dedit fix bin/icingacli Without this fix, the file in question contains: $ head -2 /usr/local/www/icingaweb2/bin/icingacli #!/usr/bin/env php <?php This causes problems with an rc.d script I am writing for net-mgmt/icingaweb2-module-vspheredb which uses that script. $ sudo service vspheredb start Starting vspheredb. env: php: No such file or directory /usr/local/etc/rc.d/vspheredb: WARNING: failed to start vspheredb By changing that line to this, the script works as expected: #!/usr/local/bin/php I'm happy to do the commit if you prefer. Thank you --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267367-7788>