diff options
author | Silvino <silvino@bk.ru> | 2019-06-17 15:28:45 +0100 |
---|---|---|
committer | Silvino <silvino@bk.ru> | 2019-06-17 15:28:45 +0100 |
commit | 3ec086df28374f6433c15c060ff608eb2cb19814 (patch) | |
tree | fb68712bff15aa2acc219c4f9caa49afabb21dce | |
parent | f122dba2117121b6e844d5ea185b4d4646dae2b4 (diff) | |
download | doc-3ec086df28374f6433c15c060ff608eb2cb19814.tar.gz |
added caching to core apparmor
-rw-r--r-- | core/apparmor.html | 18 | ||||
-rw-r--r-- | core/conf/apparmor/parser.conf | 2 |
2 files changed, 20 insertions, 0 deletions
diff --git a/core/apparmor.html b/core/apparmor.html index 8b7a30c..c567df8 100644 --- a/core/apparmor.html +++ b/core/apparmor.html @@ -165,6 +165,24 @@ } </pre> + <h3>Seed up profile loading</h3> + + <p>Every time apparmor loads a profile in text it needs + to compile into binary format, this takes some time if + there is many profiles to load at boot time. To optimize + edit /etc/apparmor/parser.conf;</p> + + <pre> + ## Turn creating/updating of the cache on by default + write-cache + </pre> + + <p>To change default location add;</p> + + <pre> + chache-loc=/var/cache/apparmor + </pre> + <a href="index.html">Core OS Index</a> <p>This is part of the Hive System Documentation. Copyright (C) 2019 diff --git a/core/conf/apparmor/parser.conf b/core/conf/apparmor/parser.conf new file mode 100644 index 0000000..673d30a --- /dev/null +++ b/core/conf/apparmor/parser.conf @@ -0,0 +1,2 @@ +## Turn creating/updating of the cache on by default +write-cache |