diff --git a/config/apiserver.conf.default b/config/apiserver.conf.default index c020506..3708ff1 100644 --- a/config/apiserver.conf.default +++ b/config/apiserver.conf.default @@ -15,43 +15,11 @@ apiserver { texterror = "FEHLER!" textcancelled = "AUSFALL!" textnotrun = "Fährt heute nicht" - - monitors { - monitor1 { - Title = "" - DepartureTime = "" - TrainType = "" - Station = "" - FinalStop = "" - maxjourneys = 1 - notRunningDays = [] - } - monitor2 { - Title = "" - DepartureTime = "" - TrainType = "" - Station = "" - FinalStop = "" - maxjourneys = 1 - notRunningDays = [] - } - monitor3 { - Title = "" - DepartureTime = "" - TrainType = "" - Station = "" - FinalStop = "" - maxjourneys = 1 - notRunningDays = [] - } - monitor4 { - Title = "" - DepartureTime = "" - TrainType = "" - Station = "" - FinalStop = "" - maxjourneys = 1 - notRunningDays = [] - } + db{ + server = "" + user = "" + password = "" + database = "" + table = "" } } diff --git a/src/main/resources/reference.conf b/src/main/resources/reference.conf index c6ac0ee..eba3199 100644 --- a/src/main/resources/reference.conf +++ b/src/main/resources/reference.conf @@ -1,41 +1,26 @@ apiserver { port = 8111 //Port to listen to refreshTime = 60 //Refresh Time in Seconds + bgcolor = "black" + bgcolordelay = "red" + labelcolor = "green" + textcolor = "grey" + textcolordelay = "black" + bgcolormain = "black" + textcolormain = "red" + textcolorupdate = "grey" + textcolornotrun = "orange" + bgcolornotrun = "black" + textok = "On Time" + texterror = "FEHLER!" + textcancelled = "AUSFALL!" + textnotrun = "Fährt heute nicht" + db{ - server = - user = - password = - database = - table = - } - monitors { - monitor1 { - Title = "" - DepartureTime = "" - TrainType = "" - Station = "" - FinalStop = "" - } - monitor2 { - Title = "" - DepartureTime = "" - TrainType = "" - Station = "" - FinalStop = "" - } - monitor3 { - Title = "" - DepartureTime = "" - TrainType = "" - Station = "" - FinalStop = "" - } - monitor4 { - Title = "" - DepartureTime = "" - TrainType = "" - Station = "" - FinalStop = "" - } + server = "" + user = "" + password = "" + database = "" + table = "" } } \ No newline at end of file