mirror of
https://github.com/yacy/yacy_search_server.git
synced 2026-10-25 05:54:15 +00:00
instead of WAITING lines, WAITING FOR STOP and dots are echoed
This commit is contained in:
1 parent
c3824854c7
commit
283850314b
1 file changed
+4
-2
+4
-2
@@ -22,13 +22,15 @@ fi
|
|||||||
|
|
||||||
(bin/apicall.sh "Steering.html?shutdown=true" > /dev/null && \
|
(bin/apicall.sh "Steering.html?shutdown=true" > /dev/null && \
|
||||||
echo "Please wait until the YaCy daemon process terminates [wget]" && \
|
echo "Please wait until the YaCy daemon process terminates [wget]" && \
|
||||||
echo "You can monitor this with 'tail -f $YACY_DATA_PATH/LOG/yacy00.log' and 'fuser $YACY_DATA_PATH/LOG/yacy00.log'") || \
|
echo "You can monitor this with 'tail -F $YACY_DATA_PATH/LOG/yacy00.log' or 'fuser $YACY_DATA_PATH/LOG/yacy00.log'") || \
|
||||||
exit $?
|
exit $?
|
||||||
|
|
||||||
# wait until the yacy.running file disappears which means that YaCy has terminated
|
# wait until the yacy.running file disappears which means that YaCy has terminated
|
||||||
# If you don't want to wait, just run this concurrently
|
# If you don't want to wait, just run this concurrently
|
||||||
|
|
||||||
|
echo "WAITING FOR STOP"
|
||||||
while [ -f "$YACY_DATA_PATH/yacy.running" ]
|
while [ -f "$YACY_DATA_PATH/yacy.running" ]
|
||||||
do
|
do
|
||||||
echo "WAITING"
|
echo -n "."
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
Reference in new issue
Block a user