Index node database for daemon to make lookups always instantaneous

This commit is contained in:
Gregory Kurtzer
2021-02-12 22:58:22 -08:00
parent 30c6b64413
commit d00ea3ba00
11 changed files with 184 additions and 28 deletions

View File

@@ -0,0 +1,11 @@
package restart
import (
"github.com/hpcng/warewulf/internal/pkg/warewulfd"
"github.com/spf13/cobra"
)
func CobraRunE(cmd *cobra.Command, args []string) error {
warewulfd.DaemonStop()
return warewulfd.DaemonStart()
}