MemoryLimit has been replaced by MemoryMax 17/312117/1 accepted/tizen/unified/20240718.010235 accepted/tizen/unified/dev/20240718.040000 accepted/tizen/unified/x/20240718.022930
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 4 Jun 2024 10:04:54 +0000 (12:04 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 4 Jun 2024 10:04:54 +0000 (12:04 +0200)
The  MemoryLimit option is marked as deprecated in systemd and needs to
be changed to MemoryMax in unit files.

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

index 85be7c23df13fd4c218a94e8e8844992d390d80a..82cd8a1eaefaf6ab6ef32eec56ea936ef4f9445c 100644 (file)
@@ -1,2 +1,2 @@
 [Service]
-MemoryLimit=30M
+MemoryMax=30M
index e8ea5b5a322aca2b663748dab53c9bdb4e2050cc..c5119f0617f02578ca8aeb754e8276771c23d075 100644 (file)
@@ -10,7 +10,7 @@ Type=dbus
 BusName=org.tizen.lbs.Providers.LbsServer
 SmackProcessLabel=System
 ExecStart=/usr/bin/lbs-server
-MemoryLimit=10M
+MemoryMax=10M
 User=location
 Group=location
 CapabilityBoundingSet=~CAP_MAC_ADMIN