From 04310a7255aa36b809a5ee6edb01c2731f50f2e4 Mon Sep 17 00:00:00 2001 From: f1ori Date: Mon, 25 Aug 2008 17:17:01 +0000 Subject: [PATCH] * added long options and help-option to linux startscript * redirect all error messages to /dev/null git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5078 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- startYACY.sh | 60 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 41 insertions(+), 19 deletions(-) diff --git a/startYACY.sh b/startYACY.sh index b6c8cd7de..c4291d716 100755 --- a/startYACY.sh +++ b/startYACY.sh @@ -31,10 +31,22 @@ then exit 1 fi +usage() { + cat - <> YaCy started as daemon process. Administration at http://localhost:$PORT << " eval $cmdline if [ "$TAILLOG" -eq "1" -a ! "$DEBUG" -eq "1" ];then + sleep 1 tail -f DATA/LOG/yacy00.log fi fi