summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Schwabe2014-08-18 15:57:26 +0200
committerNils Schwabe2014-08-18 15:57:26 +0200
commitb758c0135141b13d9493df6071c010e204d06ed4 (patch)
treeca4aaeb2fe2dc89fc2234b21cb1a6f62c81a9180
parentChange implementation of the configuration in Global.java (diff)
downloadsatellite-daemon-b758c0135141b13d9493df6071c010e204d06ed4.tar.gz
satellite-daemon-b758c0135141b13d9493df6071c010e204d06ed4.tar.xz
satellite-daemon-b758c0135141b13d9493df6071c010e204d06ed4.zip
Add global.properties.example
-rw-r--r--.gitignore2
-rw-r--r--config/global.properties.example34
2 files changed, 35 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 0587ac8..6420700 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,4 +3,4 @@
/.project
/.classpath
/.settings/
-/config/global.config
+/config/global.properties
diff --git a/config/global.properties.example b/config/global.properties.example
new file mode 100644
index 0000000..0e64f93
--- /dev/null
+++ b/config/global.properties.example
@@ -0,0 +1,34 @@
+# Example configuration file for the satellite-daemon
+
+# hostname of the masterserver
+MASTERSERVER_HOST=132.230.4.17
+
+# type of the keystore???
+KEYSTORE_TYPE=jks
+
+# the keystore that is used for the filetransfer
+FILETRANSFER_KEYSTORE_PATH=/path/to/keystore.jks
+
+# the password of the keystore above
+FILETRANSFER_KEYSTORE_PASSWORD=changeit
+
+# the name of the organization
+ORGANIZATION_NAME=uni-freiburg.de
+
+# the alias of the keystore for the secure thrift connection
+THRIFT_KEYSTORE_ALIAS=alias
+
+# it's password
+THRIFT_KEYSTORE_PASSWORD=changeit
+
+# and it's path
+THRIFT_KEYSTORE_PATH=/path/to/keystore.jks
+
+# port where the file transfer takes place (get it from the masterserver)
+FILETRANSFER_PORT=1234
+
+# port where the thrift conneciton is opened (usually this is 9191)
+THRIFT_PORT=9191
+
+# the image folder where all up- and downloads are saved
+IMAGE_FOLDER=/path/to/images \ No newline at end of file