Date: Mon, 29 Apr 2024 14:03:50 GMT From: Juraj Lutter <otis@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: df6ff2da571f - main - net-mgmt/zabbix6-server: Make service depend on mysql service Message-ID: <202404291403.43TE3oPg028992@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=df6ff2da571f4661591a83ba364c0d94bd3146af commit df6ff2da571f4661591a83ba364c0d94bd3146af Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2024-04-29 14:00:21 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2024-04-29 14:03:37 +0000 net-mgmt/zabbix6-server: Make service depend on mysql service When using zabbix6-server with MariaDB, rc.d/zabbix_server does not contain "REQUIRE: mysql". Therefore, when shutting down the host, mysql stops before zabbix_server and prevents zabbix_server from stopping. Fix this also for MYSQLDV option and also for zabbix6-proxy in addition to zabbix6-server. PR: 278629 --- net-mgmt/zabbix6-server/files/zabbix_proxy.in | 3 +++ net-mgmt/zabbix6-server/files/zabbix_server.in | 3 +++ 2 files changed, 6 insertions(+) diff --git a/net-mgmt/zabbix6-server/files/zabbix_proxy.in b/net-mgmt/zabbix6-server/files/zabbix_proxy.in index 274c75c29251..0ce9f01f549f 100644 --- a/net-mgmt/zabbix6-server/files/zabbix_proxy.in +++ b/net-mgmt/zabbix6-server/files/zabbix_proxy.in @@ -4,6 +4,9 @@ # REQUIRE: DAEMON %%PGSQL%%# REQUIRE: postgresql %%MYSQL%%# REQUIRE: mysql +%%MYSQLDV%%# REQUIRE: mysql +%%MDB5%%# REQUIRE: mysql +%%MDB6%%# REQUIRE: mysql # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf to diff --git a/net-mgmt/zabbix6-server/files/zabbix_server.in b/net-mgmt/zabbix6-server/files/zabbix_server.in index 68e9f052734e..8a1fa48a890c 100644 --- a/net-mgmt/zabbix6-server/files/zabbix_server.in +++ b/net-mgmt/zabbix6-server/files/zabbix_server.in @@ -4,6 +4,9 @@ # REQUIRE: DAEMON %%PGSQL%%# REQUIRE: postgresql %%MYSQL%%# REQUIRE: mysql +%%MYSQLDV%%# REQUIRE: mysql +%%MDB5%%# REQUIRE: mysql +%%MDB6%%# REQUIRE: mysql # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404291403.43TE3oPg028992>