FreeBSD Port: grafana2-2.6.0_1

iam at mikanoshi.name iam at mikanoshi.name
Fri Jun 10 16:59:24 UTC 2016


Hi.

There is a problem with rc.d script on FreeBSD 9.2, status doesn't work,
it requires a procname variable to match process name together with PID.
PID file parameter for daemon is also different (-p):

pidfile="/var/run/${name}.pid"
procname="/usr/local/bin/${name}"
command=/usr/sbin/daemon
command_args="-cr -p ${pidfile} ${procname} ${telegraf_flags} -config=${telegraf_conf} 2>> /var/log/telegraf.log"

-- 
Mikanoshi                               mailto:iam at mikanoshi.name
http://mikanoshi.name



More information about the freebsd-ports mailing list