From 55b9f6759bc69c66ac67e18edbad7c6e341b8935 Mon Sep 17 00:00:00 2001
From: lixin <lixinb@uniontech.com>
Date: Fri, 15 Mar 2024 15:36:24 +0800
Subject: [PATCH] use-kill-not-kill-INT-when-stop-service

---
 ut-Migration-tools/server/migration-tools-server.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ut-Migration-tools/server/migration-tools-server.service b/ut-Migration-tools/server/migration-tools-server.service
index 6616c5b..b634fa4 100644
--- a/ut-Migration-tools/server/migration-tools-server.service
+++ b/ut-Migration-tools/server/migration-tools-server.service
@@ -5,7 +5,7 @@ After=network-online.target
 [Service]
 Type=simple
 ExecStart=/usr/bin/python3 /usr/lib/migration-tools-server/index.py
-ExecStop=/bin/kill-INT $MAINPID
+ExecStop=/bin/kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target
-- 
2.33.0

