Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (17 sloc) 431 Bytes
#!/bin/bash
NIMBUL_HOME=$(dirname $0)
echo "Stopping Nimbul and daemons, please wait..."
# source /etc/cloudrc if it exists
if [ -f /etc/cloudrc ]; then
source /etc/cloudrc
fi
cd "${NIMBUL_HOME}"
mongrel_rails stop -P tmp/pids/mongrel.pid
script/daemons stop
sleep 10
killall -9 ruby mongrel_rails
# make sure to cleanup the pid file if it's there
rm -f tmp/pids/mongrel.pid
rake keystore:reset_lock
echo "Done"
exit 0
Something went wrong with that request. Please try again.