From 6a759bfd112ddd91a8baad73a560366bcbb63d47 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 31 Jul 2024 14:54:25 +0300 Subject: [PATCH] aminda-nocron-reboot.service: add systemd-oomd --- etc/systemd/system/aminda-nocron-reboot.service | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/systemd/system/aminda-nocron-reboot.service b/etc/systemd/system/aminda-nocron-reboot.service index 0865a16a..f01f927c 100644 --- a/etc/systemd/system/aminda-nocron-reboot.service +++ b/etc/systemd/system/aminda-nocron-reboot.service @@ -38,6 +38,7 @@ ExecStart=-/usr/bin/systemctl enable --now sshguard.service ExecStart=-/usr/bin/systemctl enable --now unbound.service ExecStart=-/usr/bin/systemctl enable --now chrony.service ExecStart=-/usr/bin/systemctl enable --now chronyd.service +ExecStart=-/usr/bin/systemctl enable --now systemd-oomd.service systemd-oomd.socket ExecStart=-/bin/chown -R root:${LINUXBREWGROUP} /home/linuxbrew -R ExecStart=-/bin/setfacl -R -m g:${LINUXBREWGROUP}:rwx,o:rx /home/linuxbrew User=root