mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-08 14:04:28 +01:00
Added Zabbix Appliance based on RHEL image
This commit is contained in:
parent
706d0f5e61
commit
97c205159c
@ -81,9 +81,13 @@ configure_db_mysql() {
|
||||
|
||||
echo "** Starting MySQL server in background mode"
|
||||
|
||||
if [ "$(id -u)" == '0' ]; then
|
||||
mysql_user="--user=zabbix"
|
||||
fi
|
||||
|
||||
nohup $MYSQLD --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin \
|
||||
--log-output=none --pid-file=/var/lib/mysql/mysqld.pid \
|
||||
--port=3306 --character-set-server=utf8 --collation-server=utf8_bin &
|
||||
--port=3306 --character-set-server=utf8 --collation-server=utf8_bin $mysql_user &
|
||||
}
|
||||
|
||||
prepare_system() {
|
||||
|
Loading…
Reference in New Issue
Block a user