Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Jozef Sroka
ISPConfig 3
Commits
c8ccf559
Commit
c8ccf559
authored
Oct 06, 2016
by
Marius Burkard
Browse files
- reverted last commit partly
parent
96541d1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
c8ccf559
...
...
@@ -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
));
...
...
server/plugins-available/nginx_plugin.inc.php
View file @
c8ccf559
...
...
@@ -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
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment