summaryrefslogtreecommitdiff
path: root/lib/support/systemd/gitlab.slice
diff options
context:
space:
mode:
Diffstat (limited to 'lib/support/systemd/gitlab.slice')
-rw-r--r--lib/support/systemd/gitlab.slice8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/support/systemd/gitlab.slice b/lib/support/systemd/gitlab.slice
new file mode 100644
index 00000000000..2c447f6224a
--- /dev/null
+++ b/lib/support/systemd/gitlab.slice
@@ -0,0 +1,8 @@
+[Unit]
+Description=Slice to bundle all GitLab services
+Before=slices.target
+
+[Slice]
+MemoryAccounting=true
+IOAccounting=true
+CPUAccounting=true