intial centos(el8) support added
This commit is contained in:
6
Server/config/EL8/mongodb.repo
Normal file
6
Server/config/EL8/mongodb.repo
Normal file
@@ -0,0 +1,6 @@
|
||||
[mongodb-org-MOGOVER]
|
||||
name=MongoDB Repository
|
||||
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/MOGOVER/x86_64/
|
||||
gpgcheck=1
|
||||
enabled=1
|
||||
gpgkey=https://www.mongodb.org/static/pgp/server-MOGOVER.asc
|
||||
12
Server/config/EL8/mongodb.te
Normal file
12
Server/config/EL8/mongodb.te
Normal file
@@ -0,0 +1,12 @@
|
||||
module mongodb_cgroup_memory 1.0;
|
||||
|
||||
require {
|
||||
type cgroup_t;
|
||||
type mongod_t;
|
||||
class dir search;
|
||||
class file { getattr open read };
|
||||
}
|
||||
|
||||
#============= mongod_t ==============
|
||||
allow mongod_t cgroup_t:dir search;
|
||||
allow mongod_t cgroup_t:file { getattr open read };
|
||||
Reference in New Issue
Block a user