From d1b1ca8dc03d397d1441a00bf99d1dcc01f5bbc9 Mon Sep 17 00:00:00 2001 From: MahnoKropotkinvich Date: Tue, 24 Dec 2024 00:53:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E7=9D=80=E8=A7=A3=E5=86=B3java?= =?UTF-8?q?=E4=B8=8D=E5=93=8D=E5=BA=94=E7=BB=88=E6=AD=A2=E4=BF=A1=E5=8F=B7?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.go b/daemon.go index 51a9fff..2ca336f 100644 --- a/daemon.go +++ b/daemon.go @@ -34,7 +34,7 @@ func Running() { DaemonChanRX <- struct{}{} } func Stopping() { - proc.Process.Signal(syscall.SIGINT) + proc.Process.Signal(syscall.SIGTERM) proc.Wait() go Stopped() DaemonChanRX <- struct{}{}