From: Łukasz Stelmach Date: Tue, 4 Jun 2024 09:55:58 +0000 (+0200) Subject: MemoryLimit has been replaced by MemoryMax X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=platform%2Fcore%2Fappfw%2Fsppc.git MemoryLimit has been replaced by MemoryMax The MemoryLimit option is marked as deprecated in systemd and needs to be changed to MemoryMax in unit files. Change-Id: I7bfe6f8d0650ee68f7502fdc7d852ab7448c1c4c Signed-off-by: Łukasz Stelmach --- diff --git a/armv7hl/lib/systemd/system/multi-user.target.wants/pushd.service b/armv7hl/lib/systemd/system/multi-user.target.wants/pushd.service index a0a5e60..ec81167 100644 --- a/armv7hl/lib/systemd/system/multi-user.target.wants/pushd.service +++ b/armv7hl/lib/systemd/system/multi-user.target.wants/pushd.service @@ -8,7 +8,7 @@ SmackProcessLabel=System ExecStart=/usr/bin/pushd Restart=on-failure RestartSec=1 -MemoryLimit=10M +MemoryMax=10M User=service_fw Group=service_fw diff --git a/armv7hl/lib/systemd/system/pushd.service b/armv7hl/lib/systemd/system/pushd.service index a0a5e60..ec81167 100644 --- a/armv7hl/lib/systemd/system/pushd.service +++ b/armv7hl/lib/systemd/system/pushd.service @@ -8,7 +8,7 @@ SmackProcessLabel=System ExecStart=/usr/bin/pushd Restart=on-failure RestartSec=1 -MemoryLimit=10M +MemoryMax=10M User=service_fw Group=service_fw diff --git a/packaging/pushd.asan.conf b/packaging/pushd.asan.conf index 5562d8f..af1713a 100644 --- a/packaging/pushd.asan.conf +++ b/packaging/pushd.asan.conf @@ -1,2 +1,2 @@ [Service] -MemoryLimit=64M +MemoryMax=64M diff --git a/packaging/pushd.service b/packaging/pushd.service index 9beb693..29062ab 100644 --- a/packaging/pushd.service +++ b/packaging/pushd.service @@ -7,7 +7,7 @@ SmackProcessLabel=System ExecStart=/usr/bin/pushd Restart=on-failure RestartSec=1 -MemoryLimit=10M +MemoryMax=10M User=service_fw Group=service_fw