Skip to content

Commit

Permalink
set services bef load
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 committed Mar 6, 2025
1 parent ee988b6 commit 588cd40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/services/load/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ func Cmd(services []string, module string) *cobra.Command {
return
}

if rollerData.DA.Backend == consts.Celestia {
services = consts.RollappWithCelesSystemdServices
}

err = LoadServices(services, rollerData)
if err != nil {
pterm.Error.Println("failed to load services: ", err)
return
}

if module == "rollapp" {
if rollerData.DA.Backend == consts.Celestia {
services = consts.RollappWithCelesSystemdServices
}

err = scripts.CreateRollappStartup(home)
if err != nil {
pterm.Error.Println("failed to generate startup scripts:", err)
Expand Down

0 comments on commit 588cd40

Please sign in to comment.