Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601282 - www-apps/grafana-bin lacks systemd service
Summary: www-apps/grafana-bin lacks systemd service
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2016-11-30 14:07 UTC by Marcin Kowalski
Modified: 2017-04-11 09:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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