From 7573a2aed7b53da7b67264129e9acff3095605c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Tue, 4 Jun 2024 11:55:58 +0200 Subject: [PATCH] MemoryLimit has been replaced by MemoryMax MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- armv7hl/lib/systemd/system/multi-user.target.wants/pushd.service | 2 +- armv7hl/lib/systemd/system/pushd.service | 2 +- packaging/pushd.asan.conf | 2 +- packaging/pushd.service | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.7.4