diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-11 21:43:25 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-15 18:08:54 -0300 |
commit | 7b58edb897f944e0070a5fa7ea2071f305a5d53e (patch) | |
tree | 3a88dcb4cddd536268143b9579b9d659a598c567 /testing/grafana/grafana.initd | |
parent | 8259ebfa0f7761b17254c107ee93b61895a9cffe (diff) | |
download | aports-7b58edb897f944e0070a5fa7ea2071f305a5d53e.tar.bz2 aports-7b58edb897f944e0070a5fa7ea2071f305a5d53e.tar.xz |
testing/grafana: use supervise-daemon
Diffstat (limited to 'testing/grafana/grafana.initd')
-rw-r--r-- | testing/grafana/grafana.initd | 8 |
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 |