remove hardcoded nproc.hard limit as it should be setted via GUI, also remove depreca...
[util-vserver-pl.git] / scripts / vuseradd
index 2c25cad..c49fdd4 100755 (executable)
@@ -89,7 +89,6 @@ if [ ! -d $__CONFDIR/$NAME ] ; then
     fi
     mkdir -p $DIR/apps/init $DIR/rlimits $DIR/sched $DIR/cgroup $DIR/dlimits/0 $DIR/sysctl/0
     echo default > $DIR/apps/init/mark
-    echo 1000 > $DIR/rlimits/nproc.hard
 
     # Set persistent for the network context
     echo persistent,lback_allow > $DIR/nflags