From 404af1c4d96ff84de4de26f4f4c18fd38d4a2098 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Fri, 22 Nov 2024 08:46:52 +0000 Subject: [PATCH] Fix #363 with format for max memory Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- hack/faasd-provider.service | 2 +- hack/faasd.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/faasd-provider.service b/hack/faasd-provider.service index 997f7ee0..d86c75b1 100644 --- a/hack/faasd-provider.service +++ b/hack/faasd-provider.service @@ -2,7 +2,7 @@ Description=faasd-provider [Service] -MemoryLimit=500M +MemoryMax=500M Environment="secret_mount_path={{.SecretMountPath}}" Environment="basic_auth=true" Environment="hosts_dir=/var/lib/faasd" diff --git a/hack/faasd.service b/hack/faasd.service index 81fdb47a..6a0451d4 100644 --- a/hack/faasd.service +++ b/hack/faasd.service @@ -3,7 +3,7 @@ Description=faasd After=faasd-provider.service [Service] -MemoryLimit=500M +MemoryMax=500M ExecStart=/usr/local/bin/faasd up Restart=on-failure RestartSec=10s