summaryrefslogtreecommitdiffstats
path: root/cfg
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-10-07 11:10:36 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-10-07 11:17:00 +0200
commitfe1ce97c50e575201fe47d7587251e228edf8fdf (patch)
tree4656eeb2fe23e2ef1a148af1303cae329c449078 /cfg
parent3cea4bb763165d119a329a1c7f2c767857cdb384 (diff)
#988 remove legacy configuration
Use og_server_cfg everywhere. Convert port to string to make it easy for the dbi API since it expects a string. Remove legacy example configuration file.
Diffstat (limited to 'cfg')
-rw-r--r--cfg/ogserver.cfg8
-rw-r--r--cfg/ogserver.json4
2 files changed, 2 insertions, 10 deletions
diff --git a/cfg/ogserver.cfg b/cfg/ogserver.cfg
deleted file mode 100644
index 790b233..0000000
--- a/cfg/ogserver.cfg
+++ /dev/null
@@ -1,8 +0,0 @@
-ServidorAdm=SERVERIP
-PUERTO=2008
-USUARIO=DBUSER
-PASSWORD=DBPASSWORD
-datasource=localhost
-CATALOG=DATABASE
-INTERFACE=eth0
-APITOKEN=REPOKEY
diff --git a/cfg/ogserver.json b/cfg/ogserver.json
index 0cb5eb7..2b94c2b 100644
--- a/cfg/ogserver.json
+++ b/cfg/ogserver.json
@@ -5,8 +5,8 @@
"api_token": "5a5ca1172136299640a9f47469237e0a"
},
"database" : {
- "ip": "127.0.0.1",
- "port": 3306,
+ "ip" : "127.0.0.1",
+ "port" : "3306",
"name" : "opengnsys",
"user" : "mysql",
"pass" : "mysql"