]> gitweb.michael.orlitzky.com - dead/htsn.git/commitdiff
Add an example configuration file.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 18 Dec 2013 07:48:27 +0000 (02:48 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 18 Dec 2013 07:48:27 +0000 (02:48 -0500)
doc/htsnrc.example [new file with mode: 0644]

diff --git a/doc/htsnrc.example b/doc/htsnrc.example
new file mode 100644 (file)
index 0000000..18a5a3b
--- /dev/null
@@ -0,0 +1,30 @@
+# Example configuration file for htsn. For this to take effect, you
+# would need to place it in $HOME/.htsnrc
+
+# The username used to connect to the feed.
+#
+# Default: none (required)
+#
+# username = "whoever"
+
+# The password used to connect to the feed.
+#
+# Default: none (required)
+#
+# password = "whatever"
+
+# By default, htsn will output the XML files to the current working
+# directory. Often this is not desirable, and you would rather save
+# them to a specific location. Specify it here.
+#
+# Default: "." (here)
+#
+# output-directory = "/var/lib/htsn"
+
+# A list of hostnames that supply the feed.
+#
+# Default: ["feed1.sportsnetwork.com",
+#           "feed2.sportsnetwork.com",
+#           "feed3.sportsnetwork.com"]
+#
+# feed-hosts = [ "hostname1", "hostname2", ... ]