From 98f5430732331a8e5fcf794bfc5645a63836139b Mon Sep 17 00:00:00 2001 From: Simon Edwards Date: Fri, 31 Jul 2015 15:12:33 +0100 Subject: [PATCH] Make swapfile permanent by adding to fstab in install.sh --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 5fb737f..ab194e2 100755 --- a/install.sh +++ b/install.sh @@ -32,6 +32,7 @@ sudo fallocate -l 1G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile +sudo su -c "echo '/swapfile none swap sw 0 0' >> /etc/fstab" # lxml deps # libxml2-dev libxslt1-dev