From 16e9d4d1dd2e4d9b055c0de8d1181b765914a025 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Fri, 15 Mar 2013 10:00:06 +0100 Subject: [PATCH] added a restart hint --- source/net/yacy/yacy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/yacy.java b/source/net/yacy/yacy.java index 99cf11916..be8390ff1 100644 --- a/source/net/yacy/yacy.java +++ b/source/net/yacy/yacy.java @@ -183,7 +183,7 @@ public final class yacy { f = new File(dataHome, "DATA/yacy.running"); final String conf = "DATA/SETTINGS/yacy.conf".replace("/", File.separator); if (f.exists()) { // another instance running? VM crash? User will have to care about this - Log.logSevere("STARTUP", "WARNING: the file " + f + " exists, this usually means that a YaCy instance is still running"); + Log.logSevere("STARTUP", "WARNING: the file " + f + " exists, this usually means that a YaCy instance is still running. If you want to restart YaCy, try first ./stopYACY.sh, then ./startYACY.sh. If ./stopYACY.sh fails, try ./killYACY.sh"); // If YaCy is actually running, then we check if the server port is open. // If yes, then we consider that a restart is a user mistake and then we just respond