summaryrefslogtreecommitdiff
path: root/conf/bitz-server.conf.in
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-21 14:51:17 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-21 14:51:17 +0100
commitbb9bc9051629c3319c56785c2f4ae0e605d76329 (patch)
treeec393eb145e5a7d43909bdfc43cdeaa28c4e434a /conf/bitz-server.conf.in
Initial import of bitz-server version 0.1.6-1
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";
+ };
+};
+