Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2018 10:54:47 +0000 (UTC)
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r460163 - in head/net-mgmt/telegraf: . files
Message-ID:  <201801281054.w0SAslMV032367@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: girgen
Date: Sun Jan 28 10:54:46 2018
New Revision: 460163
URL: https://svnweb.freebsd.org/changeset/ports/460163

Log:
  Add /usr/local/[s]bin to the path when running telegraf
  
  Submitted by:	Chris Gordon
  PR:		225439

Modified:
  head/net-mgmt/telegraf/Makefile
  head/net-mgmt/telegraf/files/telegraf.in

Modified: head/net-mgmt/telegraf/Makefile
==============================================================================
--- head/net-mgmt/telegraf/Makefile	Sun Jan 28 10:19:12 2018	(r460162)
+++ head/net-mgmt/telegraf/Makefile	Sun Jan 28 10:54:46 2018	(r460163)
@@ -3,6 +3,7 @@
 
 PORTNAME=	telegraf
 DISTVERSION=	1.5.1
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	girgen@FreeBSD.org

Modified: head/net-mgmt/telegraf/files/telegraf.in
==============================================================================
--- head/net-mgmt/telegraf/files/telegraf.in	Sun Jan 28 10:19:12 2018	(r460162)
+++ head/net-mgmt/telegraf/files/telegraf.in	Sun Jan 28 10:54:46 2018	(r460163)
@@ -17,6 +17,8 @@
 
 . /etc/rc.subr
 
+PATH=${PATH}:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin
+
 name="telegraf"
 rcvar=telegraf_enable
 load_rc_config $name



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801281054.w0SAslMV032367>