mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
prometheus: Log to syslog and increase nofile limit
This commit is contained in:
parent
a6d9697b7e
commit
2ad53a575f
3 changed files with 4 additions and 2 deletions
2
srcpkgs/prometheus/files/prometheus/log/run
Executable file
2
srcpkgs/prometheus/files/prometheus/log/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec logger -p daemon.info -t prometheus
|
|
@ -6,4 +6,4 @@
|
||||||
|
|
||||||
cd "${WRKDIR}"
|
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
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'prometheus'
|
# Template file for 'prometheus'
|
||||||
pkgname=prometheus
|
pkgname=prometheus
|
||||||
version=2.8.1
|
version=2.8.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/prometheus/prometheus"
|
go_import_path="github.com/prometheus/prometheus"
|
||||||
go_package="github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool"
|
go_package="github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool"
|
||||||
|
|
Loading…
Add table
Reference in a new issue