pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/prometheus



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu Jul 25 16:02:56 UTC 2024

Modified Files:
        pkgsrc/databases/prometheus: Makefile
        pkgsrc/databases/prometheus/files: prometheus.sh

Log Message:
prometheus: don't overwrite logfile on restart


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 pkgsrc/databases/prometheus/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/prometheus/files/prometheus.sh

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

Modified files:

Index: pkgsrc/databases/prometheus/Makefile
diff -u pkgsrc/databases/prometheus/Makefile:1.107 pkgsrc/databases/prometheus/Makefile:1.108
--- pkgsrc/databases/prometheus/Makefile:1.107  Thu Jul 25 14:41:32 2024
+++ pkgsrc/databases/prometheus/Makefile        Thu Jul 25 16:02:56 2024
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.107 2024/07/25 14:41:32 tnn Exp $
+# $NetBSD: Makefile,v 1.108 2024/07/25 16:02:56 tnn Exp $
 
 # Important: UI has to be manually built when updating. See instructions below.
 
 DISTNAME=      prometheus-2.53.1
+PKGREVISION=   1
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=prometheus/}
 CATEGORIES=    databases
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/databases/prometheus/files/prometheus.sh
diff -u pkgsrc/databases/prometheus/files/prometheus.sh:1.1 pkgsrc/databases/prometheus/files/prometheus.sh:1.2
--- pkgsrc/databases/prometheus/files/prometheus.sh:1.1 Fri Dec 15 15:00:09 2023
+++ pkgsrc/databases/prometheus/files/prometheus.sh     Thu Jul 25 16:02:56 2024
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: prometheus.sh,v 1.1 2023/12/15 15:00:09 wiz Exp $
+# $NetBSD: prometheus.sh,v 1.2 2024/07/25 16:02:56 tnn Exp $
 #
 # PROVIDE: prometheus
 # REQUIRE: DAEMON
@@ -21,7 +21,7 @@ rcvar=$name
 prometheus_user="@PROMETHEUS_USER@"
 prometheus_group="@PROMETHEUS_GROUP@"
 command="@PREFIX@/bin/prometheus"
-command_args="> @LOGDIR@/prometheus.log 2>&1 &"
+command_args=">> @LOGDIR@/prometheus.log 2>&1 &"
 
 
 if [ -f @SYSCONFBASE@/rc.subr -a -d @SYSCONFBASE@/rc.d -a -f @SYSCONFBASE@/rc.d/DAEMON ]; then



Home | Main Index | Thread Index | Old Index