diff --git a/srcpkgs/prometheus/files/prometheus/log/run b/srcpkgs/prometheus/files/prometheus/log/run new file mode 100755 index 0000000000..d93cf9f498 --- /dev/null +++ b/srcpkgs/prometheus/files/prometheus/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -p daemon.info -t prometheus diff --git a/srcpkgs/prometheus/files/prometheus/run b/srcpkgs/prometheus/files/prometheus/run index fbc074e65d..8311d78552 100755 --- a/srcpkgs/prometheus/files/prometheus/run +++ b/srcpkgs/prometheus/files/prometheus/run @@ -6,4 +6,4 @@ cd "${WRKDIR}" -exec chpst -u _prometheus prometheus --config.file=/etc/prometheus/prometheus.yml $ARGS +exec chpst -o 8192 -u _prometheus prometheus --config.file=/etc/prometheus/prometheus.yml $ARGS 2>&1 diff --git a/srcpkgs/prometheus/template b/srcpkgs/prometheus/template index 7cb6556a36..6bc73ef76e 100644 --- a/srcpkgs/prometheus/template +++ b/srcpkgs/prometheus/template @@ -1,7 +1,7 @@ # Template file for 'prometheus' pkgname=prometheus version=2.8.1 -revision=1 +revision=2 build_style=go go_import_path="github.com/prometheus/prometheus" go_package="github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool"