git://git.onelab.eu
/
util-vserver-pl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean up code for setting rlimits
[util-vserver-pl.git]
/
scripts
/
vuseradd
diff --git
a/scripts/vuseradd
b/scripts/vuseradd
index
0e2c8a0
..
fa58015
100755
(executable)
--- a/
scripts/vuseradd
+++ b/
scripts/vuseradd
@@
-88,7
+88,7
@@
if [ ! -d $__CONFDIR/$NAME ] ; then
fi
mkdir -p $DIR/apps/init $DIR/rlimits $DIR/sched $DIR/dlimits/0
echo default > $DIR/apps/init/mark
- echo 1000 > $DIR/rlimits/nproc
+ echo 1000 > $DIR/rlimits/nproc
.hard
# Set persistent for the network context
echo persistent > $DIR/nflags