2023-07-27 09:31:08 +00:00
|
|
|
From 30f3e8cf0c6e34c5a8e4dd9d599c6c96646bd2ba Mon Sep 17 00:00:00 2001
|
2023-07-14 03:16:39 +00:00
|
|
|
From: vegbir <yangjiaqi16@huawei.com>
|
|
|
|
|
Date: Sat, 15 Jul 2023 03:43:12 +0000
|
2023-07-27 09:31:08 +00:00
|
|
|
Subject: [PATCH 13/15] enable cfs option to show correct proc cpuinfo view
|
2022-07-04 17:23:16 +08:00
|
|
|
|
2023-07-14 03:16:39 +00:00
|
|
|
Signed-off-by: vegbir <yangjiaqi16@huawei.com>
|
2022-07-04 17:23:16 +08:00
|
|
|
---
|
2022-11-24 16:05:25 +08:00
|
|
|
config/init/systemd/lxcfs.service.in | 2 +-
|
2022-07-04 17:23:16 +08:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
2022-11-24 16:05:25 +08:00
|
|
|
diff --git a/config/init/systemd/lxcfs.service.in b/config/init/systemd/lxcfs.service.in
|
2023-07-14 03:16:39 +00:00
|
|
|
index bae1d08..c3bfd0f 100644
|
2022-11-24 16:05:25 +08:00
|
|
|
--- a/config/init/systemd/lxcfs.service.in
|
|
|
|
|
+++ b/config/init/systemd/lxcfs.service.in
|
2023-07-14 03:16:39 +00:00
|
|
|
@@ -7,7 +7,7 @@ Documentation=man:lxcfs(1)
|
2022-07-04 17:23:16 +08:00
|
|
|
[Service]
|
2023-07-14 03:16:39 +00:00
|
|
|
OOMScoreAdjust=-1000
|
2022-11-24 16:05:25 +08:00
|
|
|
ExecStartPre=-/usr/local/bin/lxcfs-tools prestart
|
|
|
|
|
-ExecStart=/usr/bin/lxcfs /var/lib/lxc/lxcfs/
|
|
|
|
|
+ExecStart=/usr/bin/lxcfs --enable-cfs /var/lib/lxc/lxcfs/
|
|
|
|
|
ExecStartPost=-/usr/local/bin/lxcfs-tools remount -a
|
2022-07-04 17:23:16 +08:00
|
|
|
KillMode=process
|
2022-11-24 16:05:25 +08:00
|
|
|
ExecStop=-/usr/local/bin/lxcfs-tools umount -a
|
2022-07-04 17:23:16 +08:00
|
|
|
--
|
2023-07-14 03:16:39 +00:00
|
|
|
2.41.0
|
2022-07-04 17:23:16 +08:00
|
|
|
|