first commit
This commit is contained in:
8
sbin/kill.sh
Normal file
8
sbin/kill.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
APP_NAME=fuint-server
|
||||
|
||||
tpid=`ps -ef|grep $APP_NAME|grep -v grep|grep -v kill|awk '{print $2}'`
|
||||
if [ ${tpid} ]; then
|
||||
echo 'Kill Process!'
|
||||
kill -9 $tpid
|
||||
fi
|
||||
Reference in New Issue
Block a user