cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frankzh...@apache.org
Subject git commit: remove changes of /etc/security/limits.conf from spec file
Date Tue, 09 Oct 2012 00:24:34 GMT
Updated Branches:
  refs/heads/4.0 ce970a6e1 -> 1814df52b


remove changes of /etc/security/limits.conf from spec file


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/1814df52
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/1814df52
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/1814df52

Branch: refs/heads/4.0
Commit: 1814df52b5f2419801dbfb9ab7576668d60f5980
Parents: ce970a6
Author: frank <frank.zhang@citrix.com>
Authored: Mon Oct 8 17:27:16 2012 -0700
Committer: frank <frank.zhang@citrix.com>
Committed: Mon Oct 8 17:27:16 2012 -0700

----------------------------------------------------------------------
 cloud.spec |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1814df52/cloud.spec
----------------------------------------------------------------------
diff --git a/cloud.spec b/cloud.spec
index bdd380b..2bee65f 100644
--- a/cloud.spec
+++ b/cloud.spec
@@ -335,11 +335,6 @@ fi
 id %{name} > /dev/null 2>&1 || /usr/sbin/useradd -M -c "CloudStack unprivileged
user" \
      -r -s /bin/sh -d %{_sharedstatedir}/%{name}/management %{name}|| true
 
-# set max file descriptors for cloud user to 4096
-sed -i /"cloud hard nofile"/d /etc/security/limits.conf
-sed -i /"cloud soft nofile"/d /etc/security/limits.conf
-echo "cloud hard nofile 4096" >> /etc/security/limits.conf
-echo "cloud soft nofile 4096" >> /etc/security/limits.conf
 rm -rf %{_localstatedir}/cache/%{name}
 # user harcoded here, also hardcoded on wscript
 


Mime
View raw message