[Bug 267914] www/grafana9: Grafana does not start at system startup

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Nov 2022 23:45:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267914

            Bug ID: 267914
           Summary: www/grafana9: Grafana does not start at system startup
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: bsd@j-star.org
                CC: drtr0jan@yandex.ru
                CC: drtr0jan@yandex.ru
             Flags: maintainer-feedback?(drtr0jan@yandex.ru)

Created attachment 238237
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238237&action=edit
Patch to set grafana's working directory at startup

Grafana9 doesn't start at system startup (tested in a jail).

Discussion on this bug about grafana7
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255676 tracks down the cause
to grafana trying to read something from the working directory at startup.
Following the suggestion of Nico Wiseman on that bug, the attached patch
ensures that grafana starts up in a directory it has appropriate permissions
for.

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