summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid/root/etc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-05-23 17:21:36 +0000
committerSteven Barth <steven@midlink.org>2009-05-23 17:21:36 +0000
commit8c4f847ea5b95aaf0e716beaf736b4e2b67655ae (patch)
tree5b931064a2df45c3903b66b425f49b621e9c31df /libs/lucid/root/etc
parent0ad58e38b42dca2f46bc492b7f889b5031a9c6a1 (diff)
GSoC Commit #1: LuCId + HTTP-Server
Diffstat (limited to 'libs/lucid/root/etc')
-rw-r--r--libs/lucid/root/etc/config/lucid61
1 files changed, 61 insertions, 0 deletions
diff --git a/libs/lucid/root/etc/config/lucid b/libs/lucid/root/etc/config/lucid
new file mode 100644
index 0000000000..dda68d901e
--- /dev/null
+++ b/libs/lucid/root/etc/config/lucid
@@ -0,0 +1,61 @@
+config lucid main
+ option pollinterval 15000
+ option threadlimit 25
+ option daemon 1
+ option debug 1
+ list supports tcpserver
+ list supports server
+
+config DirectoryPublisher webroot
+ option name 'Webserver Share'
+ option physical /www
+ option virtual /
+ option domain ''
+ list read ':lo'
+ list read ':br-lan'
+ list read 'root'
+
+config LuciWebPublisher luciweb
+ option name 'LuCI Webapplication'
+ option physical ''
+ list virtual /luci
+ option domain ''
+ list exec ':lo'
+ list exec ':br-lan'
+ list exec 'root'
+
+config RPCPublisher mainrpc
+ option namespace 'luci.lucid.rpc'
+ list export system
+ list exec ':lo'
+ list exec 'root'
+
+config tcpserver httpd
+ option entrypoint "luci.lucid.http"
+ list supports DirectoryPublisher
+ list supports LuciWebPublisher
+
+config tcpserver rpcd
+ option entrypoint "luci.lucid.rpc"
+ list supports RPCPublisher
+
+config daemon http
+ option slave httpd
+ list address 8080
+ list publisher webroot
+ list publisher luciweb
+ option enabled 1
+
+config daemon https
+ option slave httpd
+ list address 4443
+ list publisher webroot
+ list publisher luciweb
+ option enabled 1
+ option encryption enable
+
+config daemon rpc
+ option slave rpcd
+ list address 12900
+ list publisher mainrpc
+ option enabled 1 \ No newline at end of file