Bug 228759 - net-mgmt/grok_exporter: Fix rc startup script when booting
Summary: net-mgmt/grok_exporter: Fix rc startup script when booting
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-05 09:29 UTC by Gasol Wu
Modified: 2018-06-07 13:12 UTC (History)
0 users

See Also:


Attachments
patch (1.61 KB, patch)
2018-06-05 09:29 UTC, Gasol Wu
gasol.wu: maintainer-approval+
Details | Diff
Testport report on 11.1amd64 (16.12 KB, text/plain)
2018-06-05 09:30 UTC, Gasol Wu
no flags Details
patch (1.88 KB, patch)
2018-06-07 02:02 UTC, Gasol Wu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gasol Wu 2018-06-05 09:29:50 UTC
Created attachment 194014 [details]
patch

Redirect stdout and stderr to rcvar $grok_exporter_log_file
Comment 1 Gasol Wu 2018-06-05 09:30:31 UTC
Created attachment 194015 [details]
Testport report on 11.1amd64
Comment 2 Steve Wills freebsd_committer freebsd_triage 2018-06-05 20:57:52 UTC
Doesn't look like the updated rc script actually redirects and I don't see a config file line to do that either, but maybe I'm missing something. Should one of those be there?
Comment 3 Gasol Wu 2018-06-07 02:02:42 UTC
Created attachment 194058 [details]
patch
Comment 4 Gasol Wu 2018-06-07 02:04:06 UTC
(In reply to Steve Wills from comment #2)

my bad, I have uploaded new patch file for missing parts.
Comment 5 commit-hook freebsd_committer freebsd_triage 2018-06-07 13:11:02 UTC
A commit references this bug:

Author: swills
Date: Thu Jun  7 13:09:41 UTC 2018
New revision: 471915
URL: https://svnweb.freebsd.org/changeset/ports/471915

Log:
  net-mgmt/grok_exporter: Fix rc startup script when booting

  PR:		228759
  Submitted by:	Gasol Wu <gasol.wu@gmail.com> (maintainer)

Changes:
  head/net-mgmt/grok_exporter/Makefile
  head/net-mgmt/grok_exporter/files/grok_exporter.in
Comment 6 Steve Wills freebsd_committer freebsd_triage 2018-06-07 13:12:12 UTC
Committed, thanks!