Skip to content
Commit 9bb362cb authored by Roy Li's avatar Roy Li Committed by Martin Jansa
Browse files

mariadb: make it be able to work with SELinux



1. change the datadir from /var/mysql to /var/lib/mysql
2. after creating datedir, restorecon on it, make SELinux be able to
work
3. Add the PIDFile for systemd unit file, otherwise systemctl can not
stop mysqld

Signed-off-by: default avatarRoy Li <rongqing.li@windriver.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent f83d2557
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment