grafana: Log to syslog
This commit is contained in:
parent
277057abcd
commit
ec07754cb7
3 changed files with 4 additions and 2 deletions
2
srcpkgs/grafana/files/grafana/log/run
Executable file
2
srcpkgs/grafana/files/grafana/log/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec logger -p daemon.info -t grafana
|
2
srcpkgs/grafana/files/grafana/run
Normal file → Executable file
2
srcpkgs/grafana/files/grafana/run
Normal file → Executable 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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue