prometheus: update to 2.43.0.
update run script to properly increase max open files limit
This commit is contained in:
parent
8861a5ac3f
commit
0b0c78d6d7
@ -3,8 +3,10 @@ exec 2>&1
|
|||||||
|
|
||||||
[ -f ./conf ] && . ./conf
|
[ -f ./conf ] && . ./conf
|
||||||
|
|
||||||
|
ulimit -n ${MAX_OPEN_FILES:-8192}
|
||||||
|
|
||||||
: ${WRKDIR:=/var/lib/prometheus}
|
: ${WRKDIR:=/var/lib/prometheus}
|
||||||
|
|
||||||
cd "${WRKDIR}"
|
cd "${WRKDIR}"
|
||||||
|
|
||||||
exec chpst -o 8192 -u _prometheus prometheus --config.file=/etc/prometheus/prometheus.yml $ARGS 2>&1
|
exec chpst -u _prometheus prometheus --config.file=/etc/prometheus/prometheus.yml $ARGS 2>&1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Template file for 'prometheus'
|
# Template file for 'prometheus'
|
||||||
pkgname=prometheus
|
pkgname=prometheus
|
||||||
version=2.40.7
|
version=2.43.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/prometheus/prometheus"
|
go_import_path="github.com/prometheus/prometheus"
|
||||||
@ -18,7 +18,7 @@ license="Apache-2.0, MIT"
|
|||||||
homepage="https://prometheus.io/"
|
homepage="https://prometheus.io/"
|
||||||
changelog="https://raw.githubusercontent.com/prometheus/prometheus/master/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/prometheus/prometheus/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/prometheus/prometheus/archive/v${version}.tar.gz"
|
distfiles="https://github.com/prometheus/prometheus/archive/v${version}.tar.gz"
|
||||||
checksum=83b4e891204500fc798b5a9e86d0189cbef7f8274c3303c215da5e2c75df6cde
|
checksum=0cd8860e5f10d0ecb35d20d23252ddc459e8319882dc163bf71b723e3bcafd71
|
||||||
|
|
||||||
system_accounts="_prometheus"
|
system_accounts="_prometheus"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user