The net-mgmt/sysmon port does not provide a usable rc.d file, thus starting automatically from /etc/rc.conf does not work. The following should work as sysmond located in /usr/local/etc/rc.d, to be placed after an install, allowing 'sysmond_enable="YES"' to be functional in /etc/rc.conf. # . /etc/rc.subr name=sysmond rcvar=sysmond_enable command=/usr/local/bin/sysmond sysmond_enable=${sysmond_enable:-"NO"} sysmond_flags=${sysmond_flags:-"-f /usr/local/etc/sysmon.conf"} load_rc_config $name run_rc_command "$1"
Table this for now. Not only did the shebang get dropped from the script, but it still doesn't work for some reason. I'll get an operational sysmond rc.d file and repost in the near future.
George, Were you able to revisit this? It looks like you were missing the "PROVIDE: sysmon" line at the top of the rc script. See rc(8) Each script should contain rcorder(8) keywords, especially an appropriate ``PROVIDE'' entry, and if necessary ``REQUIRE'' and ``BEFORE'' keywords.
No response in 1 year. If this is still a concern please provide further details.