From b9f89e291d34b12fe9aec786721e66342c6113ca Mon Sep 17 00:00:00 2001 From: Next Turn <45985406+NextTurn@users.noreply.github.com> Date: Tue, 4 Aug 2020 14:48:47 +0800 Subject: [PATCH] Stop misleading --- docs/self-restarting-service.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/self-restarting-service.md b/docs/self-restarting-service.md index 7c5a857..5d61184 100644 --- a/docs/self-restarting-service.md +++ b/docs/self-restarting-service.md @@ -10,6 +10,6 @@ This hidden command is a flavor of the `restart` operation, where winsw creates another winsw process in a separate process group, and restarts the service from there. -This additional indirection is necessary because Windows Service Control Manager (SCM) will kill child processes recursively when it stops a service. -SCM doesn't provide the restart operation as an atomic operation either, so winsw implements restart by a sequence of stop and start. +This additional indirection is necessary because WinSW will kill child processes recursively when it stops a service. +Windows Service Control Manager (SCM) doesn't provide the restart operation as an atomic operation either, so winsw implements restart by a sequence of stop and start. The second winsw process in a separate process group ensures that winsw can survive this massacre to execute the start call.