From fe1ce97c50e575201fe47d7587251e228edf8fdf Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Wed, 7 Oct 2020 11:10:36 +0200 Subject: #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. --- cfg/ogserver.cfg | 8 -------- cfg/ogserver.json | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 cfg/ogserver.cfg (limited to 'cfg') 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" -- cgit v1.2.3-18-g5258