summaryrefslogtreecommitdiffstats
path: root/cfg/ogclient.json
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-05-13 14:10:01 +0200
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-05-13 14:10:01 +0200
commit38b6d77561c87cb427b21b811ce10208f2eb5b1a (patch)
treec091b3e6db41fff548f7c00b905d0dbc5a7e70cd /cfg/ogclient.json
parent404b8c79d070a027503cb8792888817eb800b396 (diff)
Switch config file to json
This patch makes configuration parsing easier as well as making the full configuration available in many subclasses.
Diffstat (limited to 'cfg/ogclient.json')
-rw-r--r--cfg/ogclient.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/cfg/ogclient.json b/cfg/ogclient.json
new file mode 100644
index 0000000..047ec6d
--- /dev/null
+++ b/cfg/ogclient.json
@@ -0,0 +1,19 @@
+{
+ "opengnsys": {
+ "ip": "127.0.0.1",
+ "port": 8889,
+ "log": "DEBUG",
+ "mode": "linux",
+ "url": "https://127.0.0.1/opengnsys/varios/menubrowser.php",
+ "url_log": "http://localhost/cgi-bin/httpd-log.sh"
+ },
+ "samba": {
+ "activate": true
+ "user": "opengnsys",
+ "pass": "og"
+ },
+ "vnc": {
+ "activate": true,
+ "pass": "ogvnc"
+ }
+}