mirror of
https://github.com/systemd/systemd.git
synced 2025-03-11 20:58:27 +03:00
Fedora and friends has a drop-in config for the settings in /usr/lib/systemd/user/slice.d/ . Hence, settings in the main .slice may be overridden. Let's set below in a drop-in with higher decimal prefix. Also, rename override.conf -> 99-managed-oom-preference.conf for the same reason. (cherry picked from commit 1473836a1e3c528221439e3b0ce90e729b31adb3)
10 lines
190 B
SYSTEMD
10 lines
190 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
Description=Test slice for memory pressure kills
|
|
|
|
[Slice]
|
|
CPUAccounting=true
|
|
MemoryAccounting=true
|
|
IOAccounting=true
|
|
TasksAccounting=true
|