MemoryLimit has been replaced by MemoryMax 37/312137/1 accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_x tizen accepted/tizen/unified/20240716.112410 accepted/tizen/unified/20240716.140249 accepted/tizen/unified/dev/20240717.110342 accepted/tizen/unified/x/20240717.012505
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 4 Jun 2024 13:28:04 +0000 (15:28 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 4 Jun 2024 13:28:04 +0000 (15:28 +0200)
The  MemoryLimit option is marked as deprecated in systemd and needs to
be changed to MemoryMax in unit files.

Change-Id: I2eaa33b0b3dd7d976b8d263f89408ac9b389578d
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
src/daemon/systemd/system/pulseaudio-tv.service.in
src/daemon/systemd/system/pulseaudio.service.in

index 05cf746..74044a9 100644 (file)
@@ -9,5 +9,5 @@ ExecStartPre=/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/pulseaudio.c
 ExecStart=/usr/bin/pulseaudio
 Restart=always
 KillSignal=SIGKILL
-MemoryLimit=50M
+MemoryMax=50M
 PIDFile=/run/pulse/pid
index 62ef6c2..7f38a12 100644 (file)
@@ -7,7 +7,7 @@ Type=forking
 ExecStart=/usr/bin/pulseaudio
 Restart=always
 KillSignal=SIGKILL
-MemoryLimit=50M
+MemoryMax=50M
 PIDFile=/run/pulse/pid
 SmackProcessLabel=System