2024-10-12 10:59:11 -05:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2024-10-13 01:33:32 -05:00
|
|
|
"go.wit.com/lib/gui/shell"
|
2024-10-12 10:59:11 -05:00
|
|
|
"go.wit.com/log"
|
|
|
|
)
|
|
|
|
|
|
|
|
func (d *DropletT) Start() {
|
|
|
|
log.Info("a new virtual machine is running")
|
|
|
|
}
|
2024-10-13 01:33:32 -05:00
|
|
|
|
|
|
|
func (h *HyperT) RestartDaemon() {
|
|
|
|
url := "http://" + h.Hostname + ":2520/kill"
|
|
|
|
s := shell.Wget(url)
|
|
|
|
log.Info("EVENT RestartDaemon", url, s)
|
|
|
|
}
|