#!/bin/bash cd $PWD ps aux |grep $1 | grep -v 'grep' | grep -v 'seaBlueSRolad.sh' |awk '{print $2}' | xargs kill -9 php start.php --service=$1 --daemonize=$2