acoustic-agent-61722
09/16/2021, 6:23 PMmake command to nuke my repo for a clean restart.acoustic-agent-61722
09/16/2021, 7:08 PMdazzling-diamond-4749
09/16/2021, 7:09 PMkillall pantsdacoustic-agent-61722
09/16/2021, 7:10 PMhappy-kitchen-89482
09/16/2021, 7:11 PMpantsd [/path/to/repo]dazzling-diamond-4749
09/16/2021, 7:11 PMdazzling-diamond-4749
09/16/2021, 7:12 PMkill ?dazzling-diamond-4749
09/16/2021, 7:12 PMhappy-kitchen-89482
09/16/2021, 7:13 PM-m which lets you regex-match the process namehappy-kitchen-89482
09/16/2021, 7:14 PMhappy-kitchen-89482
09/16/2021, 7:14 PMdazzling-diamond-4749
09/16/2021, 7:16 PMPANTSD_PID=$(ps ax | grep -e "pantsd \[" | cut -d' ' -f1); [ -z "$PANTSD_PID" ] || kill $PANTSD_PIDacoustic-agent-61722
09/16/2021, 7:17 PMpkill -f "pantsd.*"
edit: pkill -f "pantsd.*" || echo "Pantsd process was not running." so it doesn’t fail in makefile if not running