diff options
Diffstat (limited to 'event.go')
| -rw-r--r-- | event.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) +} |
