grafana: Log to syslog

This commit is contained in:
Renato Aguiar 2019-04-22 14:46:23 -07:00 committed by maxice8
parent 277057abcd
commit ec07754cb7
3 changed files with 4 additions and 2 deletions

View File

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

2
srcpkgs/grafana/files/grafana/run Normal file → Executable file
View File

@ -1,3 +1,3 @@
#!/bin/sh
exec chpst -u _grafana:_grafana grafana-server -homepath /usr/share/grafana/ -config /etc/grafana/grafana.ini
exec chpst -u _grafana:_grafana grafana-server -homepath /usr/share/grafana/ -config /etc/grafana/grafana.ini 2>&1

View File

@ -1,7 +1,7 @@
# Template file for 'grafana'
pkgname=grafana
version=6.1.4
revision=1
revision=2
build_style=go
go_import_path=github.com/grafana/grafana
go_package="${go_import_path}/pkg/cmd/grafana-cli ${go_import_path}/pkg/cmd/grafana-server"