# Root-owned so a checkout or revert in the repo-symlinked slice unit cannot rewrite it. # Percentages resolve against the host's physical memory, so the same file caps the # 61G workstation and the 31G buildboxes correctly. # # ManagedOOM lives here rather than on user@.service: each manager pushes its own # ManagedOOM cgroup list to systemd-oomd over varlink, so `systemctl --user # daemon-reload` re-arms a slice the user manager owns, while it silently # unregisters user@.service, which only the system manager reports. [Slice] MemoryHigh=40% MemoryMax=52% MemorySwapMax=4G ManagedOOMSwap=kill ManagedOOMMemoryPressure=kill ManagedOOMMemoryPressureLimit=60%