mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-11-11 04:07:50 +00:00
End quote
This commit is contained in:
parent
89cadb0322
commit
6b74615697
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user