Subversion Repositories SmartDukaan

Rev

Rev 4159 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4159 Rev 4732
Line 78... Line 78...
78
 
78
 
79
DIFF=`diff -q schema.xml new_schema.xml`
79
DIFF=`diff -q schema.xml new_schema.xml`
80
if [ ! -z "$DIFF" ]
80
if [ ! -z "$DIFF" ]
81
then
81
then
82
	cp new_schema.xml schema.xml
82
	cp new_schema.xml schema.xml
83
	/root/code/trunk/runutils/stop-solr-service.sh
83
	/etc/init.d/solr-server stop
84
	/root/code/trunk/runutils/start-solr-service.sh
84
	/etc/init.d/solr-server start
85
	sleep 15
85
	sleep 15
86
fi
86
fi
87
 
87
 
88
echo "Posting data to solr"
88
echo "Posting data to solr"
89
echo "======================================================="
89
echo "======================================================="