Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 601282

Summary: www-apps/grafana-bin lacks systemd service
Product: Gentoo Linux Reporter: Marcin Kowalski <yoshi3>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal CC: erkiferenc, kensington, systemd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    

Description Marcin Kowalski 2016-11-30 14:07:32 UTC
There is no systemd service provided with grafana, so as a workaround i run it via 

/usr/bin/grafana-server \
    -config /etc/grafana/grafana.ini \
    -pidfile /run/grafana.pid \
    -homepath /usr/share/grafana \
     cfg:default.paths.data=/var/lib/grafana \
     cfg:default.paths.logs=/var/log/grafana



I am not certain if provided initscript would launch it correctly on systemd environment.

Reproducible: Always
Comment 1 Ferenc Erki 2017-03-29 15:43:54 UTC
I've proposed a fix for this (among many other things) in adjust's overlay over at https://github.com/adjust/gentoo-overlay/pull/53. If you can test before it gets picked up, I'd be happy to get some feedback (here or there).
Comment 2 Patrick Lauer gentoo-dev 2017-04-11 08:58:26 UTC
Fixed in 77e5da07ebf7376541167d97a0d5eb8f39ce7f08