summaryrefslogtreecommitdiff
path: root/service/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'service/rpc')
-rw-r--r--service/rpc/service.go2
-rw-r--r--service/rpc/system.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/service/rpc/service.go b/service/rpc/service.go
index eba74c2d..066124a2 100644
--- a/service/rpc/service.go
+++ b/service/rpc/service.go
@@ -83,7 +83,7 @@ func (s *Service) Serve() error {
return nil
}
-// Stop stops the service.
+// Detach stops the service.
func (s *Service) Stop() {
s.mu.Lock()
defer s.mu.Unlock()
diff --git a/service/rpc/system.go b/service/rpc/system.go
index 778250ad..d1368a05 100644
--- a/service/rpc/system.go
+++ b/service/rpc/system.go
@@ -7,7 +7,7 @@ type systemService struct {
c service.Container
}
-// Stop the underlying c.
+// Detach the underlying c.
func (s *systemService) Stop(stop bool, r *string) error {
if stop {
s.c.Stop()