mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-12 09:34:58 +08:00
fix: Optimize 1pctl restore command output (#9355)
This commit is contained in:
parent
5c29c5e7dd
commit
45c41184c1
1 changed files with 6 additions and 0 deletions
|
@ -87,6 +87,12 @@ var restoreCmd = &cobra.Command{
|
|||
|
||||
fmt.Println(i18n.GetMsgByKeyForCmd("RestoreStep5"))
|
||||
fmt.Println(i18n.GetMsgByKeyForCmd("RestoreSuccessful"))
|
||||
|
||||
_, _ = cmdUtils.RunDefaultWithStdoutBashC("systemctl daemon-reload")
|
||||
std, err := cmdUtils.RunDefaultWithStdoutBashC("1pctl restart all")
|
||||
if err != nil {
|
||||
fmt.Println(std)
|
||||
}
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue