MemoryLimit has been replaced by MemoryMax 15/312115/1 tizen
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 4 Jun 2024 09:55:58 +0000 (11:55 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 4 Jun 2024 09:55:58 +0000 (11:55 +0200)
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 <l.stelmach@samsung.com>
armv7hl/lib/systemd/system/multi-user.target.wants/pushd.service
armv7hl/lib/systemd/system/pushd.service
packaging/pushd.asan.conf
packaging/pushd.service

index a0a5e60..ec81167 100644 (file)
@@ -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
 
index a0a5e60..ec81167 100644 (file)
@@ -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
 
index 5562d8f..af1713a 100644 (file)
@@ -1,2 +1,2 @@
 [Service]
-MemoryLimit=64M
+MemoryMax=64M
index 9beb693..29062ab 100644 (file)
@@ -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