diff options
Diffstat (limited to 'service/container.go')
-rw-r--r-- | service/container.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/container.go b/service/container.go index 1cf4a5f6..1e2e1d51 100644 --- a/service/container.go +++ b/service/container.go @@ -202,6 +202,7 @@ func (c *container) Serve() error { func (c *container) Stop() { for _, e := range c.services { if e.hasStatus(StatusServing) { + e.setStatus(StatusStopping) e.svc.(Service).Stop() e.setStatus(StatusStopped) |