[hail patch 1/2] Change cfgfile.txt into a real config file
Not many people read Recipies page at the wiki, so let's change the
in-tree cfgfile.txt so that it can be copied into /etc.
Signed-off-by: Pete Zaitcev <zaitcev@xxxxxxxxxx>
---
doc/cfgfile.txt | 57 +++++++++++++++-------------------------------
1 file changed, 19 insertions(+), 38 deletions(-)
diff --git a/doc/cfgfile.txt b/doc/cfgfile.txt
index 6c55c9b..deb1507 100644
--- a/doc/cfgfile.txt
+++ b/doc/cfgfile.txt
@@ -1,8 +1,10 @@
-
+<!--
chunkd's configuration file is "XML-like", but not strictly XML.
+In particular, clause tags are case-sensitive.
+Anyhow, just copy this file into /etc/chunkd.conf and supply it to -C option.
+-->
-listen addresses
-================
+<!--
You may specify multiple port, and/or multiple (address,port) combinations
using <Listen>, <Node>, <Port>, and <Encrypt>:
@@ -28,47 +30,26 @@ using <Listen>, <Node>, <Port>, and <Encrypt>:
<Port>18080</Port>
<Encrypt>true</Encrypt>
</Listen>
+-->
+<Listen> <Port>8082</Port> </Listen>
+<!-- The default is usually acceptable -->
+<!-- <PID>/var/run/chunkd.pid</PID> -->
-<Listen> Record delimiter
-<Node> Node address to which the TCP server will bind
- (exclude <Node> for wildcard address)
-<Port> Numeric port or service, to which TCP server will bind
-<Encrypt> TLS is enabled on this port
-
-
-volume served
-=============
-You specify the volume served by this daemon using <Path>.
-
- Your basic setup, an empty directory:
- <Path>/disk/massive/data</Path>
+<Path>/q/chunk-vega</Path> <!-- any /home directory will do -->
+<!-- Anything unique works: digits of IP address, time_t of creation. -->
+<NID>13</NID>
-<Path> Path to volume
+<!--
+ If you run tabled, "vega" is a <Group> tag where looks for chunks.
+ Otherwise, any path in CLD namespace works.
+ -->
+<InfoPath>/chunk-vega/13</InfoPath>
-
-SSL settings
-============
-You specify server SSL attributes using <SSL>, <PrivateKey>, and <Cert>.
-
- Your basic setup:
+<!-- SSL works, although very few people/programs use it. Tabled doesn't.
<SSL>
<PrivateKey>/etc/pki/chunkd.pem</PrivateKey>
<Cert>/etc/pkt/cert.pem</Cert>
</SSL>
-
-
-<SSL> Record delimiter
-<PrivateKey> Pathname of SSL private key PEM file
-<Cert> Pathname of Certificate public key PEM file
-
-
-miscellaneous settings
-======================
-
-PID file contained the process id of the daemon after forking, normally
-written somewhere in /var/run:
-
- <PID>/var/run/chunkd.pid</PID>
-
+-->
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]