代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/lxcfs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From c0a2baa7e79ef6d7a0060611b4244c4946c246b8 Mon Sep 17 00:00:00 2001
From: vegbir <[email protected]>
Date: Tue, 11 Jul 2023 08:41:53 +0000
Subject: [PATCH 01/15] systemd
append:remove-lxcfs-tools-dependency-for-common-use
Signed-off-by: vegbir <[email protected]>
---
config/init/systemd/lxcfs.service.in | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/config/init/systemd/lxcfs.service.in b/config/init/systemd/lxcfs.service.in
index 8b43f5a..bae1d08 100644
--- a/config/init/systemd/lxcfs.service.in
+++ b/config/init/systemd/lxcfs.service.in
@@ -6,12 +6,16 @@ Documentation=man:lxcfs(1)
[Service]
OOMScoreAdjust=-1000
-ExecStart=/usr/bin/lxcfs {{LXCFSTARGETDIR}}
+ExecStartPre=-/usr/local/bin/lxcfs-tools prestart
+ExecStart=/usr/bin/lxcfs /var/lib/lxc/lxcfs/
+ExecStartPost=-/usr/local/bin/lxcfs-tools remount -a
KillMode=process
-Restart=on-failure
-ExecStopPost=-/bin/fusermount -u {{LXCFSTARGETDIR}}
+ExecStop=-/usr/local/bin/lxcfs-tools umount -a
+ExecStopPost=-/bin/fusermount -u /var/lib/lxc/
Delegate=yes
ExecReload=/bin/kill -USR1 $MAINPID
+Restart=always
+RestartSec=2s
[Install]
WantedBy=multi-user.target
--
2.41.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。