Skip to content

Commit 43d6d1a

Browse files
committed
Updated output of sphinx-reindex.sh script.
1 parent 81ec0e9 commit 43d6d1a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sphinx-reindex.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
exec &> >(tee -a "/var/log/sphinxsearch/sphinx-reindex.log")
44

55
set -e
6-
echo "Started: "`date "+%Y%m%d %H%M%S"`
6+
START=`date "+%Y%m%d %H%M%S"`
7+
echo "Started: $START"
78

89
# Download sample 100k file if missing
910
if [ ! -f /data/input/data.tsv -a ! -f /data/input/data.tsv.gz ]; then
@@ -30,4 +31,6 @@ if [ -z "`pidof searchd`" ]; then
3031
supervisorctl -c /etc/supervisor/supervisord.conf start sphinx
3132
fi
3233

34+
echo "Started: $START"
3335
echo "Finished: "`date "+%Y%m%d %H%M%S"`
36+
echo "========"

0 commit comments

Comments
 (0)