Skip to content

Commit 49ff7e1

Browse files
author
bingtao
committed
Change Paperclip stop command to use SIGKILL instead of SIGTERM
1 parent e81faca commit 49ff7e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/services/paperclip/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ cmd_stop() {
505505
if [[ "${NONINTERACTIVE:-}" != "1" ]] && [[ -t 0 ]]; then
506506
gum confirm "停止 Paperclip(PID ${pid})?" || exit 0
507507
fi
508-
kill -TERM "$pid" 2>/dev/null || true
508+
kill -9 "$pid" 2>/dev/null || true
509509
local w=0
510510
while process_alive "$pid" && (( w < 30 )); do
511511
sleep 1

0 commit comments

Comments
 (0)