- added DATA/yacy.running file to indicate whether YaCy is running or not. Helpful for i.e. the updater and linux init-scripts

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3089 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
karlchenofhell 18 years ago
parent 05d0464377
commit 5763d20795

@ -218,6 +218,9 @@ public final class yacy {
System.exit(-1);
}
f = new File(homePath, "DATA/yacy.running");
if (!f.exists()) f.createNewFile(); f.deleteOnExit();
// setting up logging
f = new File(homePath, "DATA/LOG/"); if (!(f.exists())) f.mkdirs();
if (!((new File(homePath, "DATA/LOG/yacy.logging")).exists())) try {

Loading…
Cancel
Save