diff --git a/src/daemon/PhutilDaemonOverseer.php b/src/daemon/PhutilDaemonOverseer.php --- a/src/daemon/PhutilDaemonOverseer.php +++ b/src/daemon/PhutilDaemonOverseer.php @@ -347,9 +347,12 @@ } public function didReceiveGracefulSignal($signo) { - // If we receive SIGINT more than once, interpret it like SIGTERM. + // If we receive SIGINT more than once, continue shutting + // down gracefully. If the user wants to force a shutdown + // of daemons, they can use "--graceful 0" (or wait the + // default 15 seconds). if ($this->inGracefulShutdown) { - return $this->didReceiveTerminalSignal($signo); + return; } $this->inGracefulShutdown = true;