summaryrefslogtreecommitdiff
path: root/event.go
blob: ec47c6e02f506f2df70164d32fc31c2f3a48e973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main

import (
	"go.wit.com/lib/gui/shell"
	"go.wit.com/log"
)

func (d *DropletT) Start() {
	log.Info("a new virtual machine is running")
}

func (h *HyperT) RestartDaemon() {
	url := "http://" + h.Hostname + ":2520/kill"
	s := shell.Wget(url)
	log.Info("EVENT RestartDaemon", url, s)
}