MemoryLimit has been replaced by MemoryMax 20/312120/1 accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_x accepted/tizen/unified/20240718.010238 accepted/tizen/unified/dev/20240718.040003 accepted/tizen/unified/x/20240718.022933
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 4 Jun 2024 10:14:30 +0000 (12:14 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 4 Jun 2024 10:14:30 +0000 (12:14 +0200)
The  MemoryLimit option is marked as deprecated in systemd and needs to
be changed to MemoryMax in unit files.

Change-Id: I2faf11e7ef5e176b79d9e5cebae3e04f342e5e92
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
packaging/msg-server.asan.conf
packaging/msg-server.service

index 5562d8f..af1713a 100644 (file)
@@ -1,2 +1,2 @@
 [Service]
-MemoryLimit=64M
+MemoryMax=64M
index e8caa9c..ff07ae8 100755 (executable)
@@ -10,7 +10,7 @@ Group=messaging
 SmackProcessLabel=System
 ExecStart=/usr/bin/msg-server
 Restart=on-failure
-MemoryLimit=10M
+MemoryMax=10M
 Capabilities=cap_chown,cap_lease,cap_net_admin,cap_net_raw=i
 SecureBits=keep-caps