Commit 62debce1 authored by Rolf Krahl's avatar Rolf Krahl

Update setup script.

parent a3821c3f
......@@ -30,10 +30,18 @@ if arg == "INSTALL":
abort("Please create directory " + idsProperties.get("cache.dir") + " as specified in run.properties")
if idsProperties.get("plugin.archive.class"):
if not idsProperties.get("writeDelaySeconds"): abort("writeDelaySeconds is not set in run.properties")
if not idsProperties.get("startArchivingLevel1024bytes"): abort("startArchivingLevel1024bytes is not set in run.properties")
if not idsProperties.get("stopArchivingLevel1024bytes"): abort("stopArchivingLevel1024bytes is not set in run.properties")
if not idsProperties.get("tidyBlockSize"): abort("tidyBlockSize is not set in ids.properties")
if not idsProperties.get("storageUnit"): abort("storageUnit is not set in run.properties")
if idsProperties["storageUnit"].lower == "dataset":
if not (idsProperties.get("delayDatasetWritesSeconds") or
idsProperties.get("writeDelaySeconds")):
abort("delayDatasetWritesSeconds is not set in run.properties")
if idsProperties["storageUnit"].lower == "datafile":
if not (idsProperties.get("delayDatafileOperationsSeconds") or
idsProperties.get("writeDelaySeconds")):
abort("delayDatafileOperationsSeconds is not set in run.properties")
if int(idsProperties["filesCheck.parallelCount"]):
if not idsProperties.get("filesCheck.gapSeconds"): abort("filesCheck.gapSeconds is not set in run.properties")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment