diff --git a/hack/faasd-provider.service b/hack/faasd-provider.service index 997f7ee..d86c75b 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 81fdb47..6a0451d 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