summaryrefslogtreecommitdiff
path: root/conf/bitz-server.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'conf/bitz-server.conf.in')
-rw-r--r--conf/bitz-server.conf.in56
1 files changed, 56 insertions, 0 deletions
diff --git a/conf/bitz-server.conf.in b/conf/bitz-server.conf.in
new file mode 100644
index 0000000..95083c4
--- /dev/null
+++ b/conf/bitz-server.conf.in
@@ -0,0 +1,56 @@
+#
+# @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;
+
+
+# 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";
+ };
+};
+