From 30f3e8cf0c6e34c5a8e4dd9d599c6c96646bd2ba Mon Sep 17 00:00:00 2001 From: vegbir Date: Sat, 15 Jul 2023 03:43:12 +0000 Subject: [PATCH 13/15] enable cfs option to show correct proc cpuinfo view Signed-off-by: vegbir --- config/init/systemd/lxcfs.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/init/systemd/lxcfs.service.in b/config/init/systemd/lxcfs.service.in index bae1d08..c3bfd0f 100644 --- a/config/init/systemd/lxcfs.service.in +++ b/config/init/systemd/lxcfs.service.in @@ -7,7 +7,7 @@ Documentation=man:lxcfs(1) [Service] OOMScoreAdjust=-1000 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 KillMode=process ExecStop=-/usr/local/bin/lxcfs-tools umount -a -- 2.41.0