blob: 76bec4e19ed9fe275693663da1b6df48b24da789 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/sbin/openrc-run
supervisor=supervise-daemon
name="Grafana image renderer"
description="Grafana Backend Plugin that handles rendering of panels & dashboards to PNGs using headless chrome"
command="/usr/bin/node"
command_args="build/app.js server $GRAFANA_IR_OPTS"
command_user=grafanair:grafanair
directory=/usr/share/grafana-image-renderer
supervise_daemon_args="-e CHROME_BIN=/usr/bin/chromium-browser"
depend() {
need net
after firewall
}
|