Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jozef Sroka
ISPConfig 3
Commits
3bd0d086
Commit
3bd0d086
authored
Oct 03, 2016
by
Marius Burkard
Browse files
Merge branch 'stable-3.1' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.1
parents
0e3cf6f5
2e998b93
Changes
481
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/nginx_plugin.inc.php
View file @
3bd0d086
...
...
@@ -748,10 +748,10 @@ class nginx_plugin {
$primitive_root
=
$df_output
[
1
];
if
(
$file_system
==
'xfs'
)
{
exec
(
"xfs_quota -x -c 'limit -
g
bsoft=
$mb_soft
"
.
'm'
.
" bhard=
$mb_hard
"
.
'm'
.
"
$username
'
$primitive_root
"
);
exec
(
"xfs_quota -x -c 'limit -
u
bsoft=
$mb_soft
"
.
'm'
.
" bhard=
$mb_hard
"
.
'm'
.
"
$username
'
$primitive_root
"
);
// xfs only supports timers globally, not per user.
exec
(
"xfs_quota -x -c 'timer -bir -i 604800'"
);
exec
(
"xfs_quota -x -c 'timer -bir -i 604800'
$primitive_root
"
);
unset
(
$project_uid
,
$username_position
,
$xfs_projects
);
unset
(
$primitive_root
,
$df_output
,
$mb_hard
,
$mb_soft
);
...
...
Prev
1
…
21
22
23
24
25
Next
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