From 192fd69de19a78afe81a5a2c5a8270057f12ee3d Mon Sep 17 00:00:00 2001
From: lixin <lixinb@uniontech.com>
Date: Mon, 18 Mar 2024 10:32:17 +0800
Subject: [PATCH] use kill instead of kill-INT

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

diff --git a/server/migration-tools-server.service b/server/migration-tools-server.service
index 8cd53a3..dd16c95 100644
--- a/server/migration-tools-server.service
+++ b/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.41.0

