]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: replace deprecated CGroup v1 settings with v2 ones
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 6 Apr 2025 06:27:25 +0000 (15:27 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 15 Apr 2025 13:34:22 +0000 (22:34 +0900)
test/units/parent-deep.slice
test/units/son.service

index 983ed65ffb3fd6db28bc4ad0ba5a66083c112ce5..352d01202ab66844e413fce563565ca1aa5ae6b8 100644 (file)
@@ -3,4 +3,4 @@
 Description=Deeper Parent Slice
 
 [Slice]
-MemoryLimit=3G
+MemoryAccounting=yes
index 0242509f3bd3d2ec0eca865435babc419d6fe2b5..575bfa18b95a1ffc638b76f7340a9446e46396b4 100644 (file)
@@ -6,4 +6,4 @@ Description=Son Service
 Slice=parent.slice
 Type=oneshot
 ExecStart=true
-CPUShares=100
+CPUWeight=100