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:
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user