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:i...@mikanoshi.name
http://mikanoshi.name

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to