Merge pull request #64 from cyplo/swapiness
Set swapiness high on fedora, as all fedora systems are SSD now
This commit is contained in:
commit
88ad7a45b9
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 /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/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/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
|
sudo ldconfig
|
||||||
|
|
||||||
set +e
|
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