1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

net-mgmt/zabbix64-server: Make service depend on mysql service

When using zabbix64-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 zabbix64-proxy in
addition to zabbix64-server.

PR:		278629
This commit is contained in:
Juraj Lutter 2024-04-29 15:55:53 +02:00
parent 49fc7d7276
commit 9d83b1839c
3 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= zabbix64
DISTVERSION= 6.4.14
PORTREVISION?= 0
PORTREVISION?= 1
CATEGORIES= net-mgmt
MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/
PKGNAMESUFFIX?= -server

View File

@ -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

View File

@ -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