Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2018 17:16:06 +0000 (UTC)
From:      Mahdi Mokhtari <mmokhi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488332 - in head/net-mgmt/netdata: . files
Message-ID:  <201812251716.wBPHG6Um058944@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmokhi
Date: Tue Dec 25 17:16:06 2018
New Revision: 488332
URL: https://svnweb.freebsd.org/changeset/ports/488332

Log:
  net-mgmt/netdata: let netdata_user be more configurable
  With this change people will be able to run the service according their configurations
  With users like 'root', as well as default one (netdata)
  
  Reported by:	netchild
  Sponsored by:	The FreeBSD Foundation

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

Modified: head/net-mgmt/netdata/Makefile
==============================================================================
--- head/net-mgmt/netdata/Makefile	Tue Dec 25 17:15:33 2018	(r488331)
+++ head/net-mgmt/netdata/Makefile	Tue Dec 25 17:16:06 2018	(r488332)
@@ -4,6 +4,7 @@
 PORTNAME=	netdata
 PORTVERSION=	1.11.1
 DISTVERSIONPREFIX=v
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	mmokhi@FreeBSD.org

Modified: head/net-mgmt/netdata/files/netdata.in
==============================================================================
--- head/net-mgmt/netdata/files/netdata.in	Tue Dec 25 17:15:33 2018	(r488331)
+++ head/net-mgmt/netdata/files/netdata.in	Tue Dec 25 17:16:06 2018	(r488332)
@@ -23,8 +23,8 @@ rcvar=netdata_enable
 load_rc_config $name
 
 : ${netdata_enable="NO"}
+: ${netdata_user="netdata"}
 
-netdata_user="netdata"
 pidfile="%%NETDATA_PERST%%/${name}.pid"
 procname="%%PREFIX%%/sbin/${name}"
 command="/usr/sbin/daemon"



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