[Bug 285939] www/nginx: Patch to check TTY if running with profiles

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Apr 2025 11:34:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285939

            Bug ID: 285939
           Summary: www/nginx: Patch to check TTY if running with profiles
           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: ltning-freebsd@anduin.net
          Assignee: joneum@FreeBSD.org
             Flags: maintainer-feedback?(joneum@FreeBSD.org)

Created attachment 259367
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259367&action=edit
Patch to add test for open stdout descriptor

For $reasons, the unconditional output on stdout during startup is causing
problems. Herewith a simple patch for rc.d/nginx to add `test -t 0 &&` before
the `echo` statement.

This should also be considered for freenginx and any -devel ports; I have not
checked what their rc scripts look like.

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