pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/node_exporter



Module Name:    pkgsrc
Committed By:   tnn
Date:           Tue Aug  6 02:27:53 UTC 2024

Modified Files:
        pkgsrc/sysutils/node_exporter: Makefile
        pkgsrc/sysutils/node_exporter/files: node_exporter.sh

Log Message:
node_exporter: connect stdin/out/err to /dev/null in rc script


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/sysutils/node_exporter/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/node_exporter/files/node_exporter.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/node_exporter/Makefile
diff -u pkgsrc/sysutils/node_exporter/Makefile:1.71 pkgsrc/sysutils/node_exporter/Makefile:1.72
--- pkgsrc/sysutils/node_exporter/Makefile:1.71 Mon Aug  5 00:55:21 2024
+++ pkgsrc/sysutils/node_exporter/Makefile      Tue Aug  6 02:27:53 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.71 2024/08/05 00:55:21 tnn Exp $
+# $NetBSD: Makefile,v 1.72 2024/08/06 02:27:53 tnn Exp $
 
 DISTNAME=      node_exporter-1.8.2
-PKGREVISION=   4
+PKGREVISION=   5
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=prometheus/}
 CATEGORIES=    sysutils
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/sysutils/node_exporter/files/node_exporter.sh
diff -u pkgsrc/sysutils/node_exporter/files/node_exporter.sh:1.1 pkgsrc/sysutils/node_exporter/files/node_exporter.sh:1.2
--- pkgsrc/sysutils/node_exporter/files/node_exporter.sh:1.1    Sun Dec 25 17:46:15 2022
+++ pkgsrc/sysutils/node_exporter/files/node_exporter.sh        Tue Aug  6 02:27:53 2024
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: node_exporter.sh,v 1.1 2022/12/25 17:46:15 bsiegert Exp $
+# $NetBSD: node_exporter.sh,v 1.2 2024/08/06 02:27:53 tnn Exp $
 #
 # PROVIDE: node_exporter
 # REQUIRE: DAEMON
@@ -10,7 +10,7 @@
 name="node_exporter"
 rcvar=$name
 command="@PREFIX@/bin/${name}"
-command_args=" &"
+command_args=" < /dev/null > /dev/null 2>&1 &"
 node_exporter_flags=${node_exporter_flags:-"--web.listen-address=:9100 --log.level=error"}
 
 load_rc_config $name



Home | Main Index | Thread Index | Old Index