summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-14 20:52:04 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-14 20:52:04 +0800
commit1eca07c1d585327cebdaa48d9b9d012e9b39adae (patch)
tree7685769556c361bd53d50bce827701ee71ae0093 /sample
parentf351443e7276e0123585fd8c4b1564a7473837de (diff)
downloadpttbbs-1eca07c1d585327cebdaa48d9b9d012e9b39adae.tar
pttbbs-1eca07c1d585327cebdaa48d9b9d012e9b39adae.tar.gz
pttbbs-1eca07c1d585327cebdaa48d9b9d012e9b39adae.tar.bz2
pttbbs-1eca07c1d585327cebdaa48d9b9d012e9b39adae.tar.lz
pttbbs-1eca07c1d585327cebdaa48d9b9d012e9b39adae.tar.xz
pttbbs-1eca07c1d585327cebdaa48d9b9d012e9b39adae.tar.zst
pttbbs-1eca07c1d585327cebdaa48d9b9d012e9b39adae.zip
* simplify bindports.conf, and make full version as 'advanced'.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4613 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'sample')
-rw-r--r--sample/etc/bindports.conf47
-rw-r--r--sample/etc/bindports_adv.conf65
2 files changed, 67 insertions, 45 deletions
diff --git a/sample/etc/bindports.conf b/sample/etc/bindports.conf
index ed6cfe33..8e769fc0 100644
--- a/sample/etc/bindports.conf
+++ b/sample/etc/bindports.conf
@@ -1,16 +1,7 @@
-# Bind Port List
+# Bind Ports List (simple version)
# ----------------------------------------------
-# syntax: <program> <port/service> <option>
-# program: arbitary name
-# port: numeric port number or special name.
-# option: parameter to this connection.
-# ----------------------------------------------
-
-# mode selection for 'bbsctl start'
-# ----------------------------------------------
-# * current available modes: mbbsd, logind
+# * mode selection (don't change it)
bbsctl mode mbbsd
-#bbsctl mode logind
# standalone mbbsd ports
# ----------------------------------------------
@@ -29,37 +20,3 @@ mbbsd 3008
mbbsd 3009
mbbsd 3010
-# logind ports
-# ----------------------------------------------
-# * list all ports for logind to listen here.
-#logind 23
-#logind 443
-#logind 3000
-#logind 3001
-#logind 3002
-#logind 3003
-#logind 3004
-#logind 3005
-#logind 3006
-#logind 3007
-#logind 3008
-#logind 3009
-#logind 3010
-
-# logind client setings
-# ----------------------------------------------
-# * if this is set, each restart logind will
-# also invoke the client.
-#
-# * example (let mbbsd listen to all tunnel+ports)
-#logind client bin/mbbsd -d -f etc/bindports.conf
-#
-# * example (let one mbbsd listen to tunnel only)
-#logind client bin/mbbsd -n run/logind.tunnel
-
-# tunnel mappings
-# ----------------------------------------------
-# * to configure the path of tunnels
-#mbbsd tunnel run/logind.tunnel
-#logind tunnel run/logind.tunnel
-
diff --git a/sample/etc/bindports_adv.conf b/sample/etc/bindports_adv.conf
new file mode 100644
index 00000000..ed6cfe33
--- /dev/null
+++ b/sample/etc/bindports_adv.conf
@@ -0,0 +1,65 @@
+# Bind Port List
+# ----------------------------------------------
+# syntax: <program> <port/service> <option>
+# program: arbitary name
+# port: numeric port number or special name.
+# option: parameter to this connection.
+# ----------------------------------------------
+
+# mode selection for 'bbsctl start'
+# ----------------------------------------------
+# * current available modes: mbbsd, logind
+bbsctl mode mbbsd
+#bbsctl mode logind
+
+# standalone mbbsd ports
+# ----------------------------------------------
+# * list all ports you want mbbsd to listen here.
+mbbsd 23
+mbbsd 443
+mbbsd 3000
+mbbsd 3001
+mbbsd 3002
+mbbsd 3003
+mbbsd 3004
+mbbsd 3005
+mbbsd 3006
+mbbsd 3007
+mbbsd 3008
+mbbsd 3009
+mbbsd 3010
+
+# logind ports
+# ----------------------------------------------
+# * list all ports for logind to listen here.
+#logind 23
+#logind 443
+#logind 3000
+#logind 3001
+#logind 3002
+#logind 3003
+#logind 3004
+#logind 3005
+#logind 3006
+#logind 3007
+#logind 3008
+#logind 3009
+#logind 3010
+
+# logind client setings
+# ----------------------------------------------
+# * if this is set, each restart logind will
+# also invoke the client.
+#
+# * example (let mbbsd listen to all tunnel+ports)
+#logind client bin/mbbsd -d -f etc/bindports.conf
+#
+# * example (let one mbbsd listen to tunnel only)
+#logind client bin/mbbsd -n run/logind.tunnel
+
+# tunnel mappings
+# ----------------------------------------------
+# * to configure the path of tunnels
+#mbbsd tunnel run/logind.tunnel
+#logind tunnel run/logind.tunnel
+