summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2023-03-27 04:55:17 +0000
committerPatrick Lauer <patrick@gentoo.org>2023-03-27 04:55:17 +0000
commit19fbe71dc67a48543f3a86cbce9b3405e1070bdc (patch)
tree18d02a68862a6324413238ff3d04c7367e12a7cf /www-apps/grafana-bin/files
parentdev-python/parameterized: Add GH remote-id (diff)
downloadgentoo-19fbe71dc67a48543f3a86cbce9b3405e1070bdc.tar.gz
gentoo-19fbe71dc67a48543f3a86cbce9b3405e1070bdc.tar.bz2
gentoo-19fbe71dc67a48543f3a86cbce9b3405e1070bdc.zip
www-apps/grafana-bin: Add 9.3.11 9.4.7
Also remove old Bug: https://bugs.gentoo.org/903143 Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'www-apps/grafana-bin/files')
-rw-r--r--www-apps/grafana-bin/files/grafana.initd36
1 files changed, 0 insertions, 36 deletions
diff --git a/www-apps/grafana-bin/files/grafana.initd b/www-apps/grafana-bin/files/grafana.initd
deleted file mode 100644
index ec72725100f8..000000000000
--- a/www-apps/grafana-bin/files/grafana.initd
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-GRAFANA_USER="${GRAFANA_USER:-"grafana"}"
-GRAFANA_GROUP="${GRAFANA_GROUP:-"grafana"}"
-GRAFANA_CONFIGFILE="${GRAFANA_CONFIGFILE:-"/etc/grafana/${RC_SVCNAME}.ini"}"
-GRAFANA_DATADIR="${GRAFANA_DATADIR:-"/var/lib/grafana"}"
-GRAFANA_LOGDIR="${GRAFANA_LOGDIR:-"/var/log/grafana"}"
-GRAFANA_PIDFILE="${GRAFANA_PIDFILE:-"/run/${RC_SVCNAME}.pid"}"
-GRAFANA_SSDARGS=${GRAFANA_SSDARGS:-"--wait 1000"}
-GRAFANA_TERMTIMEOUT=${GRFANA_TERMTIMEOUT:-"TERM/60/KILL/5"}
-
-command="/usr/bin/grafana-server"
-command_args="-homepath=/usr/share/grafana"
-command_args="${command_args} -config=\"${GRAFANA_CONFIGFILE}\""
-command_args="${command_args} cfg:default.paths.data=\"${GRAFANA_DATADIR}\""
-command_args="${command_args} cfg:default.paths.logs=\"${GRAFANA_LOGDIR}\""
-command_background="yes"
-pidfile="${GRAFANA_PIDFILE}"
-retry="${GRAFANA_TERMTIMEOUT}"
-start_stop_daemon_args="--user ${GRAFANA_USER}:${GRAFANA_GROUP} ${GRAFANA_SSDARGS}"
-
-description="Grafana server, feature rich metrics dashboard and graph editor."
-
-required_files="${GRAFANA_CONFIGFILE}"
-
-depend() {
- need localmount
-}
-
-start_pre() {
- checkpath -d -o "${GRAFANA_USER}:${GRAFANA_GROUP}" -m750 "${GRAFANA_DATADIR}" || return 1
- checkpath -d -o "${GRAFANA_USER}:${GRAFANA_GROUP}" -m750 "${GRAFANA_DATADIR}/dashboards" || return 1
- checkpath -d -o "${GRAFANA_USER}:${GRAFANA_GROUP}" -m750 "${GRAFANA_DATADIR}/plugins" || return 1
-}