prometheus: Log to syslog and increase nofile limit

This commit is contained in:
Renato Aguiar 2019-04-22 14:43:34 -07:00 committed by maxice8
parent a6d9697b7e
commit 2ad53a575f
3 changed files with 4 additions and 2 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec logger -p daemon.info -t prometheus

View file

@ -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

View file

@ -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"