Subversion Repositories SmartDukaan

Rev

Rev 5042 | Rev 5338 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5042 Rev 5297
Line 167... Line 167...
167
else
167
else
168
    echo ${LATEST_TIMESTAMP} > /catalog-dumps/current.timestamp
168
    echo ${LATEST_TIMESTAMP} > /catalog-dumps/current.timestamp
169
    echo "INVALID" > /catalog-dumps/previous.timestamp
169
    echo "INVALID" > /catalog-dumps/previous.timestamp
170
fi
170
fi
171
 
171
 
-
 
172
 
172
echo "Restarting the tomcat to clear the cache"
173
echo "Restarting the catalog service and tomcat to clear the cache"
173
echo "======================================================="
174
echo "======================================================="
-
 
175
/etc/init.d/catalog-server restart
174
/etc/init.d/tomcat6 restart
176
/etc/init.d/tomcat6 restart
175
echo "======================================================="
177
echo "======================================================="
176
echo "Restarted the tomcat to clear the cache"
178
echo "Restarted the catalog service and tomcat to clear the cache"
-
 
179
 
177
 
180
 
178
if [ $STATUS -ne 0 ]
181
if [ $STATUS -ne 0 ]
179
then
182
then
180
	exit 1
183
	exit 1
181
fi
184
fi