/etc/bitz/bitz-server.conf is in bitz-server 1.0.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #
# /etc/bitz/bitz-server.conf
#
port = 1344;
pid_file = "/var/run/bitz/bitz-server.pid";
log_file = "/var/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 = "/usr/lib/x86_64-linux-gnu/bitz-server/modules/mod_py.so";
}
);
},
{
handler = "RESPMOD";
class = "RespmodRequestHandler";
modules :
(
{
name = "modpy";
module = "/usr/lib/x86_64-linux-gnu/bitz-server/modules/mod_py.so";
}
);
});
# module configurations
modules :
{
modpy :
{
# search path for python modules
module_path = "/usr/lib/x86_64-linux-gnu/bitz-server/modules/modpy";
# python module containing the interface methods
module_name = "modpy";
};
};
|