limit app slice to less than all ram as well

This commit is contained in:
Daniel Olsen
2023-01-16 11:09:00 +01:00
parent b94a54ec98
commit fd22fa23b7
4 changed files with 17 additions and 3 deletions

View File

@@ -115,8 +115,9 @@ declare -ga runargs=(
--slice="app.slice" # run as part of `app.slice`
--unit="${prefix}${name}-${rand}"
-p MemoryHigh=92%
-p MemoryMax=98%
-p MemoryHigh=85%
-p MemoryMax=92%
-p MemorySwapMax=5G
# unit name
--description="dmenu selection ${selection[*]@Q}"
)