Skip to content

Commit

Permalink
*)Proper arrow-function on Network.html, but ordering is still broken…
Browse files Browse the repository at this point in the history
…. Perhaps someone could fix that?

*)Removed double creation of DATA directory. New warning message in case of insufficient rights.
*) Removed roland-ramthun.de-seedlist temporarily, because of server changes

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2747 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
rramthun committed Oct 11, 2006
1 parent 6396f59 commit 581dd2e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion htroot/Network.html
Expand Up @@ -37,7 +37,7 @@ <h2>Manually contacting Peer</h2>
<td><strong>Info</strong><br />&nbsp;</td>
<td><strong>Release/<br />SVN</strong><br />&nbsp;</td>
<td><strong>PPM</strong><br />&nbsp;</td>
<td><strong>Last<br />Seen</strong><br />&nbsp;&nbsp;<a href="/Network.html?page=#[page]#&amp;sort=LastSeen&amp;order=down">&lt;</a>&nbsp;<a href="/Network.html?page=#[page]#&amp;sort=LastSeen&amp;order=up">&gt;</a></td>
<td><strong>Last<br />Seen</strong><br />&nbsp;&nbsp;<a href="/Network.html?page=#[page]#&amp;sort=LastSeen&amp;order=up">&lt;</a>&nbsp;<a href="/Network.html?page=#[page]#&amp;sort=LastSeen&amp;order=down">&gt;</a></td>
<td><strong>UTC</strong><br />Offset<br />&nbsp;</td>
<td><strong>Location</strong><br /><br />&nbsp;</td>
<td><strong>Uptime</strong><br />&nbsp;&nbsp;<a href="/Network.html?page=#[page]#&amp;sort=Uptime&amp;order=up">&lt;</a>&nbsp;<a href="/Network.html?page=#[page]#&amp;sort=Uptime&amp;order=down">&gt;</a></td>
Expand Down
2 changes: 1 addition & 1 deletion locales/de.lng
Expand Up @@ -1407,7 +1407,7 @@ Connection timeout in ms==Verbindungs-Timeout in ms
means unlimited==schaltet die Begrenzung ab
Crawler Settings==Crawler Einstellungen
Maximum&nbsp;Filesize==Maximale&nbsp;Dateigröße
Maximum allowed file size in bytes that should be downloaded==Maximale Größe der herunterzuladenden Dateien
Maximum allowed file size in bytes that should be downloaded==Maximale Größe der herunterzuladenden Datei in Byte
Larger files will be skipped==Größere Dateien werden übersprungen
Please note that if the crawler uses content compression, this limit is used to check the compressed content size==Beachten Sie, dass beim Herunterladen der Dateien mittels "Content-Compression" die komprimierte Dateigröße maßgeblich ist
Submit==Speichern
Expand Down
10 changes: 5 additions & 5 deletions source/yacy.java
Expand Up @@ -202,9 +202,13 @@ private static void startup(String homePath, long startupMemFree, long startupMe
System.exit(-1);
}

// ensure that there is a DATA directory
// ensure that there is a DATA directory, if not, create one and if that fails warn and die
File f = new File(homePath); if (!(f.exists())) f.mkdirs();
f = new File(homePath, "DATA/"); if (!(f.exists())) f.mkdirs();
if (!(f.exists())) {
System.err.println("Error creating DATA-directory in " + homePath.toString() + " . Please check your write-permission for this folder. YaCy will now terminate.");
System.exit(-1);
}

// setting up logging
f = new File(homePath, "DATA/LOG/"); if (!(f.exists())) f.mkdirs();
Expand All @@ -224,10 +228,6 @@ private static void startup(String homePath, long startupMemFree, long startupMe
serverLog.logConfig("STARTUP", "Time Zone: UTC" + serverDate.UTCDiffString() + "; UTC+0000 is " + System.currentTimeMillis());
serverLog.logConfig("STARTUP", "Maximum file system path length: " + serverSystem.maxPathLength);

// create data folder
final File dataFolder = new File(homePath, "DATA");
if (!(dataFolder.exists())) dataFolder.mkdir();

/*
// Testing if the yacy archive file were unzipped correctly.
// This test is needed because of classfile-names longer than 100 chars
Expand Down
1 change: 0 additions & 1 deletion superseed.txt
@@ -1,7 +1,6 @@
http://www.yacy.net/yacy/seed.txt
http://www.suma-lab.de/yacy/seed.txt
http://www.lulabad.de/seed.txt
http://www.roland-ramthun.de/seed.txt
http://home.arcor.de/hermens/yacy/seed.txt
http://www.blowmymind.de/yacy/seed1.txt
http://borg-0300.dyndns.org:3000/share/seed.txt
Expand Down

0 comments on commit 581dd2e

Please sign in to comment.