-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathoms.ini
73 lines (66 loc) · 4.14 KB
/
oms.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
; This is a comment
# This is also a comment
; Ini file can be supplied to oms.exe as command line option "-ini" or "-OpenM.IniFile"
; "-ini" is a short form of "-OpenM.IniFile", command lines below are equal:
;
# oms.exe -ini path/to/oms.ini
# oms.exe -OpenM.IniFile path/to/oms.ini
; "-l" is a short form of "-oms.Listen", command lines below are equal:
;
# oms.exe -l localhost:4040
# oms.exe -oms.Listen localhost:4040
; boolean options can be "true" or "false" or empty value
; boolean empty value is the same as "true"
; for example both command lines below are equal:
;
# oms -oms.ApiOnly
# oms -oms.ApiOnly true
[oms]
;
; Listen = localhost:4040 # address to listen, default: localhost:4040
; RootDir = # oms "root" directory, expected to have log subfolder
; ModelDir = models/bin # models executable and model.sqlite directory, if relative then must be relative to oms root directory
; ModelLogDir = models/log # models log directory, if relative then must be relative to oms root directory
; ModelDocDir = models/doc # models documentation directory, default: models/doc, if relative then must be relative to oms root directory
; HomeDir = models/home # user personal home directory, if relative then must be relative to oms root directory
; AllowDownload = false # if true then allow download from user home sub-directory: home/io/download
; AllowUpload = false # if true then allow upload to user home sub-directory: home/io/upload
; FilesDir = # user files directory, if relative then must be relative to oms root directory, if home directory specified then it is: home/io
; AllowMicrodata = false # if true then allow model run microdata
; UrlSaveTo = # file path to save oms URL, if relative then must be relative to oms root directory
; LogRequest = false # if true then log HTTP requests
; ApiOnly = false # if true then API only web-service, no web UI
; HtmlDir = html # front-end web UI directory, if relative then must be relative to oms root directory
; EtcDir = etc # configuration files directory, if relative then must be relative to oms root directory
; JobDir = # jobs control directory, if empty then jobs control disabled
; Name = # instance name, used for job control
; Languages = en # comma-separated list of supported languages
; CodePage = # code page to convert source file into utf-8, e.g.: windows-1252
; DoubleFormat = %.15g # format to convert float or double value to string, e.g. %.15g
; AdminAll = false # if true then allow global administrative routes: /admin-all/
; NoAdmin = false # if true then disable local administrative routes: /admin/
; NoShutdown = false # if true then disable shutdown route: /shutdown/
[OpenM]
;
; LogToConsole = true # if true then log to standard output
; LogToFile = false # if true then log to file
; LogFilePath = oms.log # log file path, default = current/dir/exeName.log
; LogUseTimeStamp = false # if true then use time-stamp in log file name
; LogUsePidStamp = false # if true then use pid-stamp in log file name
; LogUseDailyStamp = false # if true then use daily-stamp in log file name
; LogSql = false # if true then log sql statements into log file
; "-v" is a short form of "-OpenM.LogToConsole"
; log settings:
; log can be enabled/disabled for 3 independent streams:
; console - standard output
; "current" log file - log file with specified name, overwritten on every model run
; "stamped" log file - log file with unique name, created for every model run
;
; "stamped" name produced from "current" name by adding time-stamp and/or pid-stamp, i.e.:
; oms.log => oms.2012_08_17_16_04_59_148.123456.log
#
; LogUseDailyStamp creates new log file every day
; by default LogUseDailyStamp:
; = false if log file disabled (default)
; = false if "stamped" log file enabled
; = true if log file enabled and "stamped" log file disabled