Skip to content
Permalink
Browse files

Relevant message when using the stop script while YaCy is not running

  • Loading branch information...
luccioman committed Feb 5, 2019
1 parent 7a30bce commit d167b14ab6f5d0cceee427580667e9867e7cc230
Showing with 5 additions and 0 deletions.
  1. +5 −0 stopYACY.sh
@@ -15,6 +15,11 @@ if [ ! -d "$YACY_DATA_PATH" ]; then
exit 2
fi

if [ ! -f "$YACY_DATA_PATH/yacy.running" ]; then
echo "No YaCy server appears to be running on DATA folder at : $YACY_DATA_PATH"
exit 1
fi

(bin/protectedPostApiCall.sh "Steering.html" "shutdown=true" && \
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'") || \

0 comments on commit d167b14

Please sign in to comment.
You can’t perform that action at this time.