mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
enhance(upgrader): restart main proc manually and gracefully
This commit is contained in:
parent
31bbab71c9
commit
e72e8cef57
3 changed files with 7 additions and 12 deletions
|
@ -139,7 +139,7 @@ func PerformCoreUpgrade(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
// bye, overseer will restart nginx-ui
|
||||
// bye, will restart nginx-ui in performCoreUpgrade
|
||||
err = u.PerformCoreUpgrade(tarName)
|
||||
if err != nil {
|
||||
_ = ws.WriteJSON(CoreUpgradeResp{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue