Skip to content

Commit

Permalink
fix: 自启动podman socket
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Jun 15, 2024
1 parent 20e5122 commit d41862f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions scripts/podman/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 2 additions & 0 deletions scripts/update_panel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d41862f

Please sign in to comment.