Index node database for daemon to make lookups always instantaneous
This commit is contained in:
19
internal/app/wwctl/server/restart/root.go
Normal file
19
internal/app/wwctl/server/restart/root.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package restart
|
||||
|
||||
import "github.com/spf13/cobra"
|
||||
|
||||
var (
|
||||
baseCmd = &cobra.Command{
|
||||
Use: "restart",
|
||||
Short: "Restart the Warewulf server",
|
||||
RunE: CobraRunE,
|
||||
}
|
||||
)
|
||||
|
||||
func init() {
|
||||
}
|
||||
|
||||
// GetRootCommand returns the root cobra.Command for the application.
|
||||
func GetCommand() *cobra.Command {
|
||||
return baseCmd
|
||||
}
|
||||
Reference in New Issue
Block a user