summaryrefslogtreecommitdiff
path: root/event.go
diff options
context:
space:
mode:
Diffstat (limited to 'event.go')
-rw-r--r--event.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/event.go b/event.go
index c6e4bb5..ee4bef0 100644
--- a/event.go
+++ b/event.go
@@ -22,3 +22,9 @@ func (h *HyperT) RestartDaemon() {
log.Info("KILLED DAEMON", h.Hostname, shell.FormatDuration(dur), "curl", url)
me.killcount += 1
}
+
+func (h *HyperT) Start(d *DropletT) {
+ url := "http://" + h.Hostname + ":2520/start?" + d.Hostname
+ s := shell.Wget(url)
+ log.Info("EVENT start droplet", url, s)
+}