Fix error semanage: command not found
(#64)
This commit is contained in:
parent
f28da3af1a
commit
403fb2f4f3
@ -125,6 +125,10 @@ if [[ $PSQLExitCode -eq $UPDATE_AVAILABLE_CODE ]]; then
|
||||
fi
|
||||
postgresql-setup initdb || true
|
||||
|
||||
if ! command -v semanage &> /dev/null; then
|
||||
yum install -y policycoreutils-python || yum install -y policycoreutils-python-utils
|
||||
fi
|
||||
|
||||
semanage permissive -a httpd_t
|
||||
|
||||
package_services="rabbitmq-server postgresql redis mysqld"
|
||||
|
Loading…
Reference in New Issue
Block a user