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

View File

@ -460,7 +460,7 @@ set_filelimit() {
# Adjust the limit # Adjust the limit
if message 3 "We recommend setting the hard open\nfile descriptors limit to at least 524288.\n\nThe current value on your system appears to be $filelimit.\n\nWould you like this helper to change it for you?"; then if message 3 "We recommend setting the hard open\nfile descriptors limit to at least 524288.\n\nThe current value on your system appears to be $filelimit.\n\nWould you like this helper to change it for you?"; then
if [ -f "/etc/systed/system.conf" ]; then if [ -f "/etc/systemd/system.conf" ]; then
# Using systemd # Using systemd
echo -e "Updating /etc/systemd/system.conf..." echo -e "Updating /etc/systemd/system.conf..."
# Append to the file # Append to the file