diff options
author | jpaetzel <jpaetzel@FreeBSD.org> | 2018-11-09 00:55:51 +0800 |
---|---|---|
committer | jpaetzel <jpaetzel@FreeBSD.org> | 2018-11-09 00:55:51 +0800 |
commit | ab9a8800723f3fc173f8b5abbf5482990d60ce37 (patch) | |
tree | af017845a1b5ab32310eb0e970f5848cf596cfd6 /sysutils | |
parent | 573b7b88178ef09cd9a4537d5f9d41060937dc16 (diff) | |
download | freebsd-ports-gnome-ab9a8800723f3fc173f8b5abbf5482990d60ce37.tar.gz freebsd-ports-gnome-ab9a8800723f3fc173f8b5abbf5482990d60ce37.tar.zst freebsd-ports-gnome-ab9a8800723f3fc173f8b5abbf5482990d60ce37.zip |
Update to 0.16
PR: 226402
Reported by: dor.bsd@xm0.uk
Approved by: ports@ecadlabs.com (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/node_exporter/Makefile | 2 | ||||
-rw-r--r-- | sysutils/node_exporter/distinfo | 6 | ||||
-rw-r--r-- | sysutils/node_exporter/files/node_exporter.in | 15 |
3 files changed, 16 insertions, 7 deletions
diff --git a/sysutils/node_exporter/Makefile b/sysutils/node_exporter/Makefile index d7bc5ad64419..a1f293ea3e80 100644 --- a/sysutils/node_exporter/Makefile +++ b/sysutils/node_exporter/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= node_exporter -PORTVERSION= 0.15.2 +PORTVERSION= 0.16.0 DISTVERSIONPREFIX=v CATEGORIES= sysutils diff --git a/sysutils/node_exporter/distinfo b/sysutils/node_exporter/distinfo index 0e698fe7b7a8..ca8d7efd420c 100644 --- a/sysutils/node_exporter/distinfo +++ b/sysutils/node_exporter/distinfo @@ -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 diff --git a/sysutils/node_exporter/files/node_exporter.in b/sysutils/node_exporter/files/node_exporter.in index eec93362fed9..7cf841da5d46 100644 --- a/sysutils/node_exporter/files/node_exporter.in +++ b/sysutils/node_exporter/files/node_exporter.in @@ -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 } |