Commit c8ccf559 authored by Marius Burkard's avatar Marius Burkard
Browse files

- reverted last commit partly

parent 96541d1f
......@@ -890,7 +890,7 @@ class apache2_plugin {
$primitive_root = $df_output[1];
if($file_system == 'xfs') {
exec("xfs_quota -x -c " . escapeshellarg("limit -u bsoft=$mb_soft" . 'm'. " bhard=$mb_hard" . 'm'. " " . $data['new']['system_group']) . " " . escapeshellarg($primitive_root));
exec("xfs_quota -x -c " . escapeshellarg("limit -u bsoft=$mb_soft" . 'm'. " bhard=$mb_hard" . 'm'. " " . $username) . " " . escapeshellarg($primitive_root));
// xfs only supports timers globally, not per user.
exec("xfs_quota -x -c 'timer -bir -i 604800' " . escapeshellarg($primitive_root));
......
......@@ -748,7 +748,7 @@ class nginx_plugin {
$primitive_root = $df_output[1];
if($file_system == 'xfs') {
exec("xfs_quota -x -c " . escapeshellarg("limit -u bsoft=$mb_soft" . 'm'. " bhard=$mb_hard" . 'm'. " " . $data['new']['system_group']) . " " . escapeshellarg($primitive_root));
exec("xfs_quota -x -c " . escapeshellarg("limit -u bsoft=$mb_soft" . 'm'. " bhard=$mb_hard" . 'm'. " " . $username) . " " . escapeshellarg($primitive_root));
// xfs only supports timers globally, not per user.
exec("xfs_quota -x -c 'timer -bir -i 604800' " . escapeshellarg($primitive_root));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment