You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
393 B

#!/bin/bash
stop_program ()
{
pidfile=$1
echo "Stopping Process - $pidfile. PID=$(cat $pidfile)"
kill -9 $(cat $pidfile)
rm $pidfile
}
stop_program pids/bws.pid
stop_program pids/fiatrateservice.pid
stop_program pids/emailservice.pid
stop_program pids/bcmonitor.pid
stop_program pids/pushnotificationsservice.pid
stop_program pids/messagebroker.pid
stop_program pids/locker.pid