[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
ojs
/
248
/
plugins
/
generic
/
lucene
/
embedded
/
bin
/
[
Home
]
File: stop.sh
#!/bin/bash # Source common variables. EXEC_PATH=`dirname $0` source "$EXEC_PATH/script-startup" if [ ! -e $SOLR_PIDFILE ]; then echo "Solr PID-file not found. Is Solr stopped? Has the PID-file been deleted?" exit 1 fi # Stop the solr process. SOLR_PID=`cat $SOLR_PIDFILE` if [ ! -z "$SOLR_PID" -a -e "/proc/$SOLR_PID" ]; then kill $SOLR_PID echo "Stopped solr." else echo "Solr not running." exit 1 fi