Set swapiness high on fedora, as all fedora systems are SSD now
This commit is contained in:
parent
101a3b0aac
commit
71a9f66470
2 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||
sudo cp -v /etc/dnf/automatic.conf /etc/dnf/automatic.conf.bak
|
||||
sudo cp -v $DIR/etc/dnf/automatic.conf /etc/dnf/automatic.conf
|
||||
sudo cp -v $DIR/etc/ld.so.conf.d/nextcloud.conf /etc/ld.so.conf.d/nextcloud.conf
|
||||
sudo cp -v $DIR/etc/sysctl.d/90_swapiness.conf /etc/sysctl.d/
|
||||
sudo ldconfig
|
||||
|
||||
set +e
|
||||
|
|
2
fedora/etc/sysctl.d/90_swapiness.conf
Normal file
2
fedora/etc/sysctl.d/90_swapiness.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
vm.swappiness = 90
|
||||
|
Loading…
Reference in a new issue