Created attachment 191827 [details] Improvements to rc.d script This change uses `/usr/sbin/daemon` instead as well as adding a reload command to reload go-carbon without shutting it down. This fixes an issue with restart. Poudriere QA fine on 10.3, 10.4, 11.1 and 12-CURRENT. Portlint -AC runs without errors. Reload functionality tested.
LGTM, take.
(In reply to Koichiro Iwao from comment #1) Did anything need to change with this port?
(In reply to Andreas Andersson from comment #2) Your rc script calls "load_rc_config" twice. The second one is useless. I'll remove it and commit shortly. Please wait a little while more.
A commit references this bug: Author: meta Date: Mon Apr 2 05:55:17 UTC 2018 New revision: 466198 URL: https://svnweb.freebsd.org/changeset/ports/466198 Log: databases/go-carbon: Improve rc.d script Fixes an error with restart. PR: 226937 Submitted by: Andreas Andersson <a.andersson.thn@gmail.com> Approved by: hrs (mentor, implicit) Changes: head/databases/go-carbon/Makefile head/databases/go-carbon/files/go-carbon.in
Committed with minor changes, thanks!
A commit references this bug: Author: riggs Date: Thu Apr 5 19:59:22 UTC 2018 New revision: 466596 URL: https://svnweb.freebsd.org/changeset/ports/466596 Log: MFH: r466198 databases/go-carbon: Improve rc.d script Fixes an error with restart. PR: 226937 Submitted by: Andreas Andersson <a.andersson.thn@gmail.com> Approved by: hrs (mentor, implicit) Approved by: ports-secteam (riggs) Reported by: meta (via mail) Changes: _U branches/2018Q2/ branches/2018Q2/databases/go-carbon/Makefile branches/2018Q2/databases/go-carbon/files/go-carbon.in