End quote

This commit is contained in:
the-sane 2020-09-05 08:03:23 -04:00 committed by GitHub
parent 89cadb0322
commit 6b74615697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -464,7 +464,7 @@ set_filelimit() {
# Using systemd
echo -e "Updating /etc/systemd/system.conf..."
# Append to the file
pkexec sh -c 'echo "DefaultLimitNOFILE=524288 >> /etc/systemd/system.conf && systemctl daemon-reexec'
pkexec sh -c 'echo "DefaultLimitNOFILE=524288" >> /etc/systemd/system.conf && systemctl daemon-reexec'
echo -e "Done.\n"
elif [ -f "/etc/security/limits.conf" ]; then
# Using limits.conf