bitcore-wallet-service/stop.sh

21 lines
393 B
Bash
Raw Normal View History

#!/bin/bash
stop_program ()
{
pidfile=$1
echo "Stopping Process - $pidfile. PID=$(cat $pidfile)"
kill -9 $(cat $pidfile)
rm $pidfile
}
stop_program pids/bws.pid
2016-01-12 06:45:46 -08:00
stop_program pids/fiatrateservice.pid
stop_program pids/emailservice.pid
stop_program pids/bcmonitor.pid
2016-01-04 09:47:57 -08:00
stop_program pids/pushnotificationsservice.pid
stop_program pids/messagebroker.pid
stop_program pids/locker.pid