nscd -i passwd in froxlor_master_cronjob.php eingefügt

This commit is contained in:
Andreas Grundler
2018-01-01 13:54:32 +01:00
parent 732c6e3a78
commit 64653a2bb1

View File

@@ -91,6 +91,7 @@ if (count($jobs_to_run) > 0) {
// clear NSCD cache if using fcgid or fpm, #1570
if (Settings::Get('system.mod_fcgid') == 1 || (int)Settings::Get('phpfpm.enabled') == 1) {
$false_val = false;
safe_exec('nscd -i passwd 1> /dev/null', $false_val, array('>'));
safe_exec('nscd -i group 1> /dev/null', $false_val, array('>'));
}
}