diff options
| author | Jeff Carr <[email protected]> | 2024-10-13 01:33:32 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-13 01:33:32 -0500 |
| commit | 3739671503295cec358c16676a17a6ebfa87a575 (patch) | |
| tree | 0c1463481c9f5e5a664484f9a6943c5d16ac6b5c /event.go | |
| parent | eddd658b7f4f14083e801d9bd0fa1642455d7380 (diff) | |
show totals
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'event.go')
| -rw-r--r-- | event.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,9 +1,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) +} |
