From 9a26d4599b5533a28ee885c82205fa7830a2e706 Mon Sep 17 00:00:00 2001 From: Ueda Naoaki Date: Mon, 13 Mar 2023 17:28:45 +0900 Subject: Fix kill targets process to --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index fef4a3d..97e2c4f 100755 --- a/install.sh +++ b/install.sh @@ -19,6 +19,7 @@ base_dir=$(dirname $0) backup_dir="$base_dir/backup" if [[ -e "$PIDFILE" ]] ; then + sudo pkill -P $(cat $PIDFILE) || true sudo start-stop-daemon -K -p $PIDFILE || true fi -- cgit v1.2.3-54-g00ecf