Date: Thu, 8 Nov 2018 16:55:52 +0000 (UTC) From: Josh Paetzel <jpaetzel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484463 - in head/sysutils/node_exporter: . files Message-ID: <201811081655.wA8GtqhJ037933@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jpaetzel Date: Thu Nov 8 16:55:51 2018 New Revision: 484463 URL: https://svnweb.freebsd.org/changeset/ports/484463 Log: Update to 0.16 PR: 226402 Reported by: dor.bsd@xm0.uk Approved by: ports@ecadlabs.com (maintainer) Modified: head/sysutils/node_exporter/Makefile head/sysutils/node_exporter/distinfo head/sysutils/node_exporter/files/node_exporter.in Modified: head/sysutils/node_exporter/Makefile ============================================================================== --- head/sysutils/node_exporter/Makefile Thu Nov 8 16:00:12 2018 (r484462) +++ head/sysutils/node_exporter/Makefile Thu Nov 8 16:55:51 2018 (r484463) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= node_exporter -PORTVERSION= 0.15.2 +PORTVERSION= 0.16.0 DISTVERSIONPREFIX=v CATEGORIES= sysutils Modified: head/sysutils/node_exporter/distinfo ============================================================================== --- head/sysutils/node_exporter/distinfo Thu Nov 8 16:00:12 2018 (r484462) +++ head/sysutils/node_exporter/distinfo Thu Nov 8 16:55:51 2018 (r484463) @@ -1,3 +1,3 @@ -TIMESTAMP = 1515361500 -SHA256 (prometheus-node_exporter-v0.15.2_GH0.tar.gz) = 940b850376f94580e88b5e99926d92899975d5792d05709cbd9c48dab0a848ad -SIZE (prometheus-node_exporter-v0.15.2_GH0.tar.gz) = 1327204 +TIMESTAMP = 1529087836 +SHA256 (prometheus-node_exporter-v0.16.0_GH0.tar.gz) = 2ed1c1c199e047b1524b49a6662d5969936e81520d6613b8b68cc3effda450cf +SIZE (prometheus-node_exporter-v0.16.0_GH0.tar.gz) = 1413131 Modified: head/sysutils/node_exporter/files/node_exporter.in ============================================================================== --- head/sysutils/node_exporter/files/node_exporter.in Thu Nov 8 16:00:12 2018 (r484462) +++ head/sysutils/node_exporter/files/node_exporter.in Thu Nov 8 16:55:51 2018 (r484463) @@ -38,7 +38,8 @@ load_rc_config $name pidfile=/var/run/node_exporter.pid command="/usr/sbin/daemon" procname="%%PREFIX%%/bin/node_exporter" -command_args="-p ${pidfile} /usr/bin/env ${procname} \ +command_args="-p ${pidfile} -T ${name} \ + /usr/bin/env ${procname} \ --web.listen-address=${node_exporter_listen_address} \ --collector.textfile.directory=${node_exporter_textfile_dir} \ ${node_exporter_args}" @@ -48,10 +49,18 @@ start_precmd=node_exporter_startprecmd node_exporter_startprecmd() { if [ ! -e ${pidfile} ]; then - install -o ${node_exporter_user} -g ${node_exporter_group} /dev/null ${pidfile}; + install \ + -o ${node_exporter_user} \ + -g ${node_exporter_group} \ + /dev/null ${pidfile}; fi if [ ! -d ${node_exporter_textfile_dir} ]; then - install -d -o ${node_exporter_user} -g ${node_exporter_group} -m 1755 ${node_exporter_textfile_dir} + install \ + -d \ + -o ${node_exporter_user} \ + -g ${node_exporter_group} \ + -m 1755 \ + ${node_exporter_textfile_dir} fi }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811081655.wA8GtqhJ037933>