2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 11:27:17 +08:00

fix: 自启动podman socket

This commit is contained in:
耗子
2024-06-16 04:38:28 +08:00
parent 20e5122425
commit d41862f63b
3 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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}

View File

@@ -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