終了スクリプトが無いときようのキルスクリプト
vim /path/to/script/{process}-stop.sh --- PID=`ps auxww | grep {process} | grep -v grep | awk '{ print $2 }'` if [ "$PID" = "" ]; then echo "{process} process not found" exit 0 fi kill $PID --- chmod +x /path/to/script/{process}-stop.sh