Skip to content
This repository was archived by the owner on Jan 15, 2020. It is now read-only.

Commit 9a74cb2

Browse files
frankyadvr
authored andcommitted
remove changes of /etc/security/limits.conf from spec file
1 parent 93024c8 commit 9a74cb2

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

cloud.spec

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,6 @@ fi
335335
id %{name} > /dev/null 2>&1 || /usr/sbin/useradd -M -c "CloudStack unprivileged user" \
336336
-r -s /bin/sh -d %{_sharedstatedir}/%{name}/management %{name}|| true
337337

338-
# set max file descriptors for cloud user to 4096
339-
sed -i /"cloud hard nofile"/d /etc/security/limits.conf
340-
sed -i /"cloud soft nofile"/d /etc/security/limits.conf
341-
echo "cloud hard nofile 4096" >> /etc/security/limits.conf
342-
echo "cloud soft nofile 4096" >> /etc/security/limits.conf
343338
rm -rf %{_localstatedir}/cache/%{name}
344339
# user harcoded here, also hardcoded on wscript
345340

0 commit comments

Comments
 (0)