Created attachment 206945 [details] rc.d script The default rc.d script of zabbix_java does not support status command properly. Here I attached a custom script I wrote.
Thank you for the report and patch Tao. If you could provide the attachment as a patch (unified diff or svn diff) against the existing port file, that would be great
Created attachment 206992 [details] patch The script is actually located in port net-mgmt/zabbix42-server. Here's the patch
A commit references this bug: Author: dbaio Date: Sun Jun 14 15:17:04 UTC 2020 New revision: 538809 URL: https://svnweb.freebsd.org/changeset/ports/538809 Log: net-mgmt/zabbix*: Add status command to the zabbix_java rc script PR: 240139 Submitted by: TAO ZHOU <zhoutao@laocius.org> Approved by: maintainer timeout (pg@pakhom.spb.ru, > 9 months) Changes: head/net-mgmt/zabbix3-java/Makefile head/net-mgmt/zabbix3-server/files/zabbix_java.in head/net-mgmt/zabbix4-java/Makefile head/net-mgmt/zabbix4-server/files/zabbix_java.in head/net-mgmt/zabbix42-java/Makefile head/net-mgmt/zabbix42-server/files/zabbix_java.in head/net-mgmt/zabbix44-java/Makefile head/net-mgmt/zabbix44-server/files/zabbix_java.in head/net-mgmt/zabbix5-java/Makefile head/net-mgmt/zabbix5-server/Makefile head/net-mgmt/zabbix5-server/files/zabbix_java.in
Committed with slight changes, thanks for your work and sorry for the delay.