case $1 in
"start")
- perl -MOpenILS::System -e 'OpenILS::System->bootstrap()' &
+ perl -MOpenSRF::System -e 'OpenSRF::System->bootstrap()' &
sleep 2;
$0 status;
echo;
"stop")
PID=$(ps ax | grep "[0-9] System$" | awk '{print $1}');
if [ -z $PID ]; then
- echo "OpenILS System is not running";
+ echo "OpenSRF System is not running";
exit;
fi
echo "Killing System...$PID";
"status")
PID=$(ps ax | grep "[0-9] System$" | awk '{print $1}');
if [ -z $PID ]; then
- echo "OpenILS System is not running";
+ echo "OpenSRF System is not running";
exit 0;
fi
- echo "OpenILS System is running";
+ echo "OpenSRF System is running";
exit 1;
;;
"restart")