Commit d4bf076c authored by Ruslan Drozhdzh's avatar Ruslan Drozhdzh Committed by Miek Gieben

Emit InstanceStartupEvent after starting server (#1410)

parent 4f54bd9e
...@@ -98,6 +98,9 @@ func Run() { ...@@ -98,6 +98,9 @@ func Run() {
showVersion() showVersion()
} }
// Execute instantiation events
caddy.EmitEvent(caddy.InstanceStartupEvent, instance)
// Twiddle your thumbs // Twiddle your thumbs
instance.Wait() instance.Wait()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment