mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-30 18:59:02 +00:00
End quote
This commit is contained in:
parent
89cadb0322
commit
6b74615697
@ -464,7 +464,7 @@ set_filelimit() {
|
|||||||
# 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
|
||||||
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"
|
echo -e "Done.\n"
|
||||||
elif [ -f "/etc/security/limits.conf" ]; then
|
elif [ -f "/etc/security/limits.conf" ]; then
|
||||||
# Using limits.conf
|
# Using limits.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user