Disable CACULE RDB support when _cacule_rdb equals to 'false' (#485)
* Disable CACULE RDB support when _cacule_rdb equals to 'false' * Make CACULE RDB disabled by default unless overriden with _cacule_rdb='true' * Enable CACULE RDB when _cacule_rdb set to 'true' * Fix missing _cacule_rdb_interval setting
This commit is contained in:
@@ -803,7 +803,7 @@ _tkg_srcprep() {
|
||||
_disable "SCHED_BMQ"
|
||||
elif [ "${_cpusched}" = "cacule" ]; then
|
||||
_enable "SCHED_AUTOGROUP" "CACULE_SCHED"
|
||||
_disable "BSD_PROCESS_ACCT" "TASK_XACCT" "CGROUP_CPUACCT" "CGROUP_DEBUG"
|
||||
_disable "BSD_PROCESS_ACCT" "TASK_XACCT" "CGROUP_CPUACCT" "CGROUP_DEBUG" "CACULE_RDB"
|
||||
if [ "$_cacule_rdb" = "true" ]; then
|
||||
_enable "CACULE_RDB"
|
||||
scripts/config --set-val "RDB_INTERVAL" "$_cacule_rdb_interval"
|
||||
|
Reference in New Issue
Block a user