forked from uwcms/sysmgr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsysmgr.conf.example.tmpl
58 lines (50 loc) · 1.44 KB
/
sysmgr.conf.example.tmpl
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
socket_port = 4681
# If ratelimit_delay is set, it defines the number of microseconds that the
# system manager will sleep after sending a command to a crate on behalf of a
# client application. This can be used to avoid session timeouts due to
# excessive rates of requests.
#
# Note that this will suspend only the individual crate thread, and other
# crates will remain unaffected, as will any operation that does not access an
# individual crate. The default, 0, is no delay.
ratelimit_delay = 100000
# If true, the system manager will run as a daemon, and send stdout to syslog.
daemonize = true
authentication {
raw = { }
manage = { "manage1", "manage2" }
read = { "" }
}
crate {
host = "192.168.1.240"
mch = "VadaTech"
username = ""
password = "vadatech"
authtype = none # NONE MD2 MD5 STRAIGHT_PASSWORD_KEY
description = "Left Crate"
}
crate {
host = "192.168.2.240"
mch = "VadaTech"
username = ""
password = "vadatech"
authtype = none
description = "Right Crate"
enabled = false
}
crate {
host = "192.168.3.240"
mch = "NAT"
username = ""
password = ""
authtype = none
description = "Spare Crate"
enabled = false
}
# *** Modules ***
#
# These modules will be loaded in the order specified here. When a new card is
# detected, they will be checked in reverse order to determine which module
# will service that card. If no module claims a card, it will be serviced by
# the system manager with no special functionality.
# {MODULES}