Signed-off-by: chy <chy@163.com>
This commit is contained in:
12
lidee-server/src/main/assembly/bin/stop.sh
Normal file
12
lidee-server/src/main/assembly/bin/stop.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
pid=`ps ax | grep -i 'ld-report' | grep java | grep -v grep | awk '{print $1}'`
|
||||
if [ -z "$pid" ] ; then
|
||||
echo "No ld-report Server running."
|
||||
exit -1;
|
||||
fi
|
||||
|
||||
kill -9 ${pid}
|
||||
|
||||
echo "Send shutdown request to ld-reporte(${pid}) OK"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user