summaryrefslogtreecommitdiff
path: root/src/core/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-08 20:52:06 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-14 20:01:45 +0200
commitd58d600efdcbefa38247861a1df032d1a8fda606 (patch)
treed85cd03eb618e4012801b9c3b215fafc54726515 /src/core/unit.c
parentd8cf2ac79b524d7784bccb428295ebc9c5e8548c (diff)
systemctl: allow percent-based MemoryLimit= settings via systemctl set-property
The unit files already accept relative, percent-based memory limit specification, let's make sure "systemctl set-property" support this too. Since we want the physical memory size of the destination machine to apply we pass the percentage in a new set of properties that only exist for this purpose, and can only be set.
Diffstat (limited to 'src/core/unit.c')
0 files changed, 0 insertions, 0 deletions