about summary refs log tree commit diff
path: root/demo/demo-limits.slice
diff options
context:
space:
mode:
Diffstat (limited to 'demo/demo-limits.slice')
-rw-r--r--demo/demo-limits.slice8
1 files changed, 8 insertions, 0 deletions
diff --git a/demo/demo-limits.slice b/demo/demo-limits.slice
new file mode 100644
index 000000000000..583db59badcd
--- /dev/null
+++ b/demo/demo-limits.slice
@@ -0,0 +1,8 @@
+[Unit]
+Description=Limited resources demo
+DefaultDependencies=no
+Before=slices.target
+
+[Slice]
+CPUQuota=10%
+MemoryLimit=1G