From d41862f63b87cbb0ae30e3a4ae3a53a5c351be13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sun, 16 Jun 2024 04:38:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=87=AA=E5=90=AF=E5=8A=A8podman=20sock?= =?UTF-8?q?et?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.go | 4 +++- scripts/podman/install.sh | 2 ++ scripts/update_panel.sh | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config/app.go b/config/app.go index 63bfa273..4f0b5177 100644 --- a/config/app.go +++ b/config/app.go @@ -74,8 +74,10 @@ func init() { // the language folders that are provided through your application. "fallback_locale": "zh_CN", - // Application Translation Path + // Application Lang Path // + // The path to the language files for the application. You may change + // the path to a different directory if you would like to customize it. "lang_path": filepath.Join(support.RootPath, "lang"), // Encryption Key diff --git a/scripts/podman/install.sh b/scripts/podman/install.sh index c8cb93a2..9cf07ad8 100644 --- a/scripts/podman/install.sh +++ b/scripts/podman/install.sh @@ -37,8 +37,10 @@ else fi systemctl enable podman +systemctl enable podman.socket systemctl enable podman-restart systemctl start podman +systemctl start podman.socket systemctl start podman-restart panel writePlugin podman ${podmanVersion} diff --git a/scripts/update_panel.sh b/scripts/update_panel.sh index b6215ae5..f385c88e 100644 --- a/scripts/update_panel.sh +++ b/scripts/update_panel.sh @@ -116,8 +116,10 @@ if version_lt "$oldVersion" "2.2.9"; then cp /usr/share/containers/storage.conf /etc/containers/storage.conf fi systemctl enable podman + systemctl enable podman.socket systemctl enable podman-restart systemctl start podman + systemctl start podman.socket systemctl start podman-restart fi fi