1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run
supervisor=supervise-daemon
name="chartsrv"
description="Daemon which renders SVG plots from Prometheus data"
command="/usr/bin/chartsrv"
command_args="$chartsrv_opts"
command_user=chartsrv:chartsrv
directory="/var/lib/$RC_SVCNAME"
depend() {
need net localmount
after firewall
}