From e1c3079fdedf0ba72c4fd85722e7baef4b367cd2 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 23 Aug 2024 13:44:48 +0300 Subject: [PATCH] aminda-nocron-reboot.service.d/swapoff --- etc/systemd/system/aminda-nocron-reboot.service.d/swapoff.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 etc/systemd/system/aminda-nocron-reboot.service.d/swapoff.conf diff --git a/etc/systemd/system/aminda-nocron-reboot.service.d/swapoff.conf b/etc/systemd/system/aminda-nocron-reboot.service.d/swapoff.conf new file mode 100644 index 00000000..ea7a1930 --- /dev/null +++ b/etc/systemd/system/aminda-nocron-reboot.service.d/swapoff.conf @@ -0,0 +1,3 @@ +# Disables all swap. Very questionable. +[Service] +ExecStart=-/usr/sbin/swapoff -a