diff --git a/content/en/docs/examples/graceful-restart-or-stop.md b/content/en/docs/examples/graceful-restart-or-stop.md index aae74ebd8..949753da6 100644 --- a/content/en/docs/examples/graceful-restart-or-stop.md +++ b/content/en/docs/examples/graceful-restart-or-stop.md @@ -64,7 +64,7 @@ func main() { quit := make(chan os.Signal, 1) // kill (no param) default send syscall.SIGTERM // kill -2 is syscall.SIGINT - // kill -9 is syscall. SIGKILL but can"t be catch, so don't need add it + // kill -9 is syscall.SIGKILL but can't be caught, so don't need add it signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM) <-quit log.Println("Shutdown Server ...") diff --git a/content/es/docs/examples/graceful-restart-or-stop.md b/content/es/docs/examples/graceful-restart-or-stop.md index 763f3e854..2755f70d8 100644 --- a/content/es/docs/examples/graceful-restart-or-stop.md +++ b/content/es/docs/examples/graceful-restart-or-stop.md @@ -61,7 +61,7 @@ func main() { // Espera por la señal de interrupción para el apagado controlado del servidor // con un tiempo de espera de 5 segundos. quit := make(chan os.Signal, 1) - // kill (sin parámetro) envío por defecto de la señal syscanll.SIGTERM + // kill (sin parámetro) envío por defecto de la señal syscall.SIGTERM // kill -2 es syscall.SIGINT // kill -9 es syscall.SIGKILL pero no se puede atrapar, así que no es necesario agregarlo signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM) diff --git a/content/fa/docs/examples/graceful-restart-or-stop.md b/content/fa/docs/examples/graceful-restart-or-stop.md index 87ca178c2..b5aef0147 100644 --- a/content/fa/docs/examples/graceful-restart-or-stop.md +++ b/content/fa/docs/examples/graceful-restart-or-stop.md @@ -62,9 +62,9 @@ func main() { // Wait for interrupt signal to gracefully shutdown the server with // a timeout of 5 seconds. quit := make(chan os.Signal, 1) - // kill (no param) default send syscanll.SIGTERM + // kill (no param) default sends syscall.SIGTERM // kill -2 is syscall.SIGINT - // kill -9 is syscall. SIGKILL but can"t be catch, so don't need add it + // kill -9 is syscall.SIGKILL but can't be caught, so don't need add it signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM) <-quit log.Println("Shutdown Server ...") diff --git a/content/ja/docs/examples/graceful-restart-or-stop.md b/content/ja/docs/examples/graceful-restart-or-stop.md index 3cf526c4a..81c039f14 100644 --- a/content/ja/docs/examples/graceful-restart-or-stop.md +++ b/content/ja/docs/examples/graceful-restart-or-stop.md @@ -61,9 +61,9 @@ func main() { // シグナル割り込みを待ち、タイムアウト時間が5秒の graceful shutdown をする quit := make(chan os.Signal, 1) - // kill (no param) default send syscanll.SIGTERM + // kill (no param) default sends syscall.SIGTERM // kill -2 is syscall.SIGINT - // kill -9 is syscall. SIGKILL but can"t be catch, so don't need add it + // kill -9 is syscall. SIGKILL but can't be caught, so don't need add it signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM) <-quit log.Println("Shutdown Server ...") diff --git a/content/ko-kr/docs/examples/graceful-restart-or-stop.md b/content/ko-kr/docs/examples/graceful-restart-or-stop.md index f314cb948..dcaa12818 100644 --- a/content/ko-kr/docs/examples/graceful-restart-or-stop.md +++ b/content/ko-kr/docs/examples/graceful-restart-or-stop.md @@ -61,7 +61,7 @@ func main() { // 5초의 타임아웃으로 인해 인터럽트 신호가 서버를 정상종료 할 때까지 기다립니다. quit := make(chan os.Signal, 1) - // kill (파라미터 없음) 기본값으로 syscanll.SIGTERM를 보냅니다 + // kill (파라미터 없음) 기본값으로 syscall.SIGTERM를 보냅니다 // kill -2 는 syscall.SIGINT를 보냅니다 // kill -9 는 syscall.SIGKILL를 보내지만 캐치할수 없으므로, 추가할 필요가 없습니다. signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM) diff --git a/content/pt/docs/examples/graceful-restart-or-stop.md b/content/pt/docs/examples/graceful-restart-or-stop.md index 25facd28e..bdab4f328 100644 --- a/content/pt/docs/examples/graceful-restart-or-stop.md +++ b/content/pt/docs/examples/graceful-restart-or-stop.md @@ -62,7 +62,7 @@ func main() { // espere pelo sinal de interrupção para parar graciosamente o // servidor com uma pausa de 5 segundos. quit := make(chan os.Signal, 1) - // "kill" padrão (sem parâmetro) envia "syscanll.SIGTERM" + // "kill" padrão (sem parâmetro) envia "syscall.SIGTERM" // "kill -2" é "syscall.SIGINT" // "kill -9" é "syscall.SIGKILL" mas não pode ser capturado, // então não precisas adicioná-lo diff --git a/content/tr/docs/examples/graceful-restart-or-stop.md b/content/tr/docs/examples/graceful-restart-or-stop.md index 87ca178c2..b5aef0147 100644 --- a/content/tr/docs/examples/graceful-restart-or-stop.md +++ b/content/tr/docs/examples/graceful-restart-or-stop.md @@ -62,9 +62,9 @@ func main() { // Wait for interrupt signal to gracefully shutdown the server with // a timeout of 5 seconds. quit := make(chan os.Signal, 1) - // kill (no param) default send syscanll.SIGTERM + // kill (no param) default sends syscall.SIGTERM // kill -2 is syscall.SIGINT - // kill -9 is syscall. SIGKILL but can"t be catch, so don't need add it + // kill -9 is syscall.SIGKILL but can't be caught, so don't need add it signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM) <-quit log.Println("Shutdown Server ...")