From 8ba094f205feb9c115df0d35558b705c9945c750 Mon Sep 17 00:00:00 2001 From: Ricardo Noriega Date: Wed, 17 Aug 2022 17:05:46 +0200 Subject: [PATCH] Enable resource accounting in MicroShift systemd service Signed-off-by: Ricardo Noriega --- packaging/systemd/microshift.service | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packaging/systemd/microshift.service b/packaging/systemd/microshift.service index 5f783bd0a58..1d3edb3f43f 100644 --- a/packaging/systemd/microshift.service +++ b/packaging/systemd/microshift.service @@ -9,6 +9,11 @@ ExecStart=microshift run Restart=always User=root Type=notify +Delegate=yes +CPUAccounting=yes +BlockIOAccounting=yes +MemoryAccounting=yes +LimitNOFILE=1048576 [Install] WantedBy=multi-user.target