[Bug 269558] net-mgmt/icingaweb2: add SHEBANG fix for bin/icingacli

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Feb 2023 19:53:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269558

            Bug ID: 269558
           Summary: net-mgmt/icingaweb2: add SHEBANG fix for bin/icingacli
           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 240161
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240161&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.