Fix: Use MemoryMax instead of deprecated MemoryLimit
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ Restart=on-failure
|
|||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
||||||
# Resource limits
|
# Resource limits
|
||||||
MemoryLimit=256M
|
MemoryMax=256M
|
||||||
CPUQuota=30%
|
CPUQuota=30%
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ Restart=on-failure
|
|||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
||||||
# Resource limits
|
# Resource limits
|
||||||
MemoryLimit=512M
|
MemoryMax=512M
|
||||||
CPUQuota=50%
|
CPUQuota=50%
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
|
|||||||
Reference in New Issue
Block a user