Github messages for voidlinux
 help / color / mirror / Atom feed
From: Goorzhel <Goorzhel@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] grafana: Create /var/log/grafana on install
Date: Sun, 15 Nov 2020 07:35:56 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26391@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

There is a new pull request by Goorzhel against master on the void-packages repository

https://github.com/Goorzhel/void-packages grafana
https://github.com/void-linux/void-packages/pull/26391

grafana: Create /var/log/grafana on install
Directory is referenced in `[template](https://github.com/Goorzhel/void-packages/blob/25102fb7685b04c1abf23456d3f78ce31c3094ce/srcpkgs/grafana/template#L49)`.

@the-maldridge 

A patch file from https://github.com/void-linux/void-packages/pull/26391.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-grafana-26391.patch --]
[-- Type: text/x-diff, Size: 681 bytes --]

From 25102fb7685b04c1abf23456d3f78ce31c3094ce Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Sat, 14 Nov 2020 22:20:21 -0800
Subject: [PATCH] grafana: Create /var/log/grafana on install

---
 srcpkgs/grafana/INSTALL | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/grafana/INSTALL b/srcpkgs/grafana/INSTALL
index da69a64d86f..b233e20d946 100644
--- a/srcpkgs/grafana/INSTALL
+++ b/srcpkgs/grafana/INSTALL
@@ -4,6 +4,8 @@ case "$ACTION" in
             :
         else
             chown _grafana:_grafana var/lib/grafana
+            vmkdir var/log/grafana
+            chown _grafana:_grafana var/log/grafana
         fi
         ;;
 esac

             reply	other threads:[~2020-11-15  6:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-15  6:35 Goorzhel [this message]
2020-11-15  6:37 ` Goorzhel
2020-11-15  6:37 ` [PR PATCH] [Closed]: " Goorzhel
2020-11-15  6:37 ` [PR REVIEW] " the-maldridge
2020-11-15  6:38 ` the-maldridge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26391@inbox.vuxu.org \
    --to=goorzhel@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).