summaryrefslogtreecommitdiff
path: root/stopYACY.sh
diff options
context:
space:
mode:
authorokybaca <klokanek@eldar.cz>2023-08-09 12:46:21 +0200
committerokybaca <klokanek@eldar.cz>2023-08-09 12:46:21 +0200
commit283850314bb8b7178d656707e227a7233188481a (patch)
tree3ae352ea1b6808ebb9c62c4c9b53647fe243b1cd /stopYACY.sh
parentc3824854c70c6df7038becf6c3f09da08aa266ec (diff)
instead of WAITING lines, WAITING FOR STOP and dots are echoed
Diffstat (limited to 'stopYACY.sh')
-rwxr-xr-xstopYACY.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/stopYACY.sh b/stopYACY.sh
index e57f030a6..2e0000ed9 100755
--- a/stopYACY.sh
+++ b/stopYACY.sh
@@ -22,13 +22,15 @@ fi
(bin/apicall.sh "Steering.html?shutdown=true" > /dev/null && \
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 $?
# wait until the yacy.running file disappears which means that YaCy has terminated
# If you don't want to wait, just run this concurrently
+
+echo "WAITING FOR STOP"
while [ -f "$YACY_DATA_PATH/yacy.running" ]
do
- echo "WAITING"
+ echo -n "."
sleep 1
done