litemall/deploy/bin/stop.sh
2025-04-14 14:25:41 +08:00

8 lines
124 B
Bash

#!/bin/bash
PID=$(ps -ef | grep litemall.jar | grep -v grep | awk '{ print $2 }')
if [ ! -z "$PID" ]
then
kill $PID
fi