blob: 416a555a2f14db7906d0a62729bf5a3a16db1a37 (
plain)
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
|
#
# @sysconfdir@/bitz/bitz-server.conf
#
port = 1344;
pid_file = "@localstatedir@/run/bitz/bitz-server.pid";
log_file = "@localstatedir@/log/bitz/bitz-server.log";
log_category = "bitz-server";
# maximum number of workers
max_workers = 1;
# maximum number of requests a worker will serve
max_worker_requests = 100;
# communication timeout value in seconds. set this value to
# be 0 to disable timeouts.
comm_timeout = 5;
# request handlers
req_handlers :
({
handler = "REQMOD";
class = "ReqmodRequestHandler";
modules :
(
{
name = "modpy";
module = "@pkglibdir@/modules/mod_py.so";
}
);
},
{
handler = "RESPMOD";
class = "RespmodRequestHandler";
modules :
(
{
name = "modpy";
module = "@pkglibdir@/modules/mod_py.so";
}
);
});
# module configurations
modules :
{
modpy :
{
# search path for python modules
module_path = "@pkglibdir@/modules/modpy";
# python module containing the interface methods
module_name = "modpy";
};
};
|