SwordArMor-gentoo-overlay/www-apps/grafana-bin/files/grafana.service
Alarig Le Lay 6171c9ee37
www-apps/grafana-bin: New package
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2022-02-20 22:38:26 +01:00

26 lines
676 B
Desktop File

[Unit]
Description=Grafana
Documentation=http://docs.grafana.org
Wants=network-online.target
After=network-online.target
[Service]
User=grafana
Group=grafana
Type=simple
Restart=on-failure
RuntimeDirectory=grafana
WorkingDirectory=/usr/share/grafana
ExecStart=/usr/bin/grafana-server \
--config=/etc/grafana/grafana.ini \
--pidfile=/run/grafana/grafana.pid \
cfg:default.paths.logs=/var/log/grafana \
cfg:default.paths.data=/var/lib/grafana \
cfg:default.paths.plugins=/var/lib/grafana/plugins
LimitNOFILE=10000
TimeoutStopSec=20
UMask=0027
[Install]
WantedBy=multi-user.target