Bug 219696 - www/grafana4: documentation mistake in the startup script
Summary: www/grafana4: documentation mistake in the startup script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-31 22:51 UTC by Mark.Martinec
Modified: 2017-06-03 17:21 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (swills)


Attachments
Fixes a file name in a comment of a startup script (362 bytes, patch)
2017-05-31 22:51 UTC, Mark.Martinec
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark.Martinec 2017-05-31 22:51:53 UTC
Created attachment 183116 [details]
Fixes a file name in a comment of a startup script

Using port www/grafana4, 4.3.2.
I was wondering why my updated grafana fails to start - which turned out
to be due to me following a trivial documentation mistake.

A comment in the startup script /usr/local/etc/rc.d/grafana claims
the default configuration file is %%PREFIX%%/etc/grafana.cfg,
but actually it is a .conf,  i.e. %%PREFIX%%/etc/grafana.conf
as seen a couple of lines further down:
  : ${grafana_conf:="%%PREFIX%%/etc/${name}.conf"}

A trivial patch to files/grafana.in is attached.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-06-03 16:58:18 UTC
A commit references this bug:

Author: swills
Date: Sat Jun  3 16:57:23 UTC 2017
New revision: 442509
URL: https://svnweb.freebsd.org/changeset/ports/442509

Log:
  www/grafana4: fix doc mistake in the init script

  PR:		219696
  Submitted by:	Mark.Martinec@ijs.si

Changes:
  head/www/grafana4/Makefile
  head/www/grafana4/files/grafana.in
Comment 2 Steve Wills freebsd_committer freebsd_triage 2017-06-03 17:21:12 UTC
Committed, thanks!