1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run
supervisor=supervise-daemon
name="monitorix"
description="Take control over your small server"
command="/usr/bin/monitorix"
command_user=root:root
directory="/var/lib/$RC_SVCNAME"
command_args="-c /etc/monitorix/monitorix.conf -p /run/monitorix.pid $OPTIONS"
depend() {
need net localmount
after firewall
}