aboutsummaryrefslogtreecommitdiffstats
path: root/testing/grafana/grafana.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/grafana/grafana.initd')
-rw-r--r--testing/grafana/grafana.initd8
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/grafana/grafana.initd b/testing/grafana/grafana.initd
index a3458f9129..ab903b04e4 100644
--- a/testing/grafana/grafana.initd
+++ b/testing/grafana/grafana.initd
@@ -1,10 +1,14 @@
#!/sbin/openrc-run
+supervisor=supervise-daemon
+
+name="Grafana"
+description="Metrics Dashboard and Graph Editor"
+
command="/usr/sbin/grafana-server"
command_args="$GRAFANA_OPTS"
-command_background=yes
+
command_user=grafana:grafana
-pidfile="/run/$RC_SVCNAME.pid"
depend() {
need net