diff --git a/srcpkgs/grafana/files/grafana/log/run b/srcpkgs/grafana/files/grafana/log/run new file mode 100755 index 00000000000..422fc14b90d --- /dev/null +++ b/srcpkgs/grafana/files/grafana/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -p daemon.info -t grafana diff --git a/srcpkgs/grafana/files/grafana/run b/srcpkgs/grafana/files/grafana/run old mode 100644 new mode 100755 index 4b90fc204f0..3a78eec79a7 --- a/srcpkgs/grafana/files/grafana/run +++ b/srcpkgs/grafana/files/grafana/run @@ -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 diff --git a/srcpkgs/grafana/template b/srcpkgs/grafana/template index 7ce74e3dfaf..0f9704f6cd0 100644 --- a/srcpkgs/grafana/template +++ b/srcpkgs/grafana/template @@ -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"