1 # Example configuration file for htsn. For this to take effect, you
2 # would need to place it in either the user or global configuration
5 # For a user, that's either $HOME/.htsnrc on Unix or
6 # %APPDATA%\.htsnrc (e.g. C:\Users\<username>\Application
7 # Data\.htsnrc) on Windows.
9 # The global configuration directory is determined by Cabal. The
10 # "sysconfdir" parameter during the "configure" step will be used. On
11 # Unix, it's probably /etc, and this file will need to go in
14 # Run in the background as a daemon?
21 # A list of hostnames that supply the feed. You probably don't need to
22 # change this, but you can.
24 # Default: ["feed1.sportsnetwork.com",
25 # "feed2.sportsnetwork.com",
26 # "feed3.sportsnetwork.com"]
28 # feed_hosts = [ "hostname1", "hostname2", ... ]
31 # If you specify a file path here, logs will be written to it
32 # (possibly in addition to syslog). Can be either a relative or
33 # absolute path. It will not be auto-rotated; use something like
38 # log_file = "/var/log/htsn/htsn.log"
41 # How verbose should the logs be? Valid levels are,
43 # "INFO", "WARNING", "ERROR"
45 # (there are others, but we don't emit them.)
49 # log_level = "WARNING"
52 # By default, XML files will be written to the current working
53 # directory. Often this is not desirable, and you would rather save
54 # them to a specific location. Specify it here.
58 # output_directory = "/var/lib/htsn"
61 # The password associated with your TSN username.
63 # Default: none (required)
65 # password = "whatever"
68 # (Daemon mode only) Create a PID file in the given location. This is
69 # used by the init system on Unix to keep track of the running
70 # daemon. Its parent directory must be writable by the user/group that
73 # Default: /run/htsn/htsn.pid
75 # pidfile = /var/run/htsn/htsn.pid
78 # (Daemon mode only) Run htsn as the specified system grup. The PID
79 # file is written before privileges are dropped, so the only
80 # privileges needed by htsn are those necessary to write the XML files
81 # and (optionally) the log file.
83 # Default: the current group
85 # run_as_group = "htsn"
88 # (Daemon mode only) Run htsn as the specified system user. The PID
89 # file is written before privileges are dropped, so the only
90 # privileges needed by htsn are those necessary to write the XML files
91 # and (optionally) the log file.
93 # Default: the current user
95 # run_as_user = "htsn"
97 # Do you want to log to syslog? On Windows this will attempt to
98 # communicate (over UDP) with a syslog daemon on localhost, which will
99 # most likely not work.
106 # The username used to connect to the feed.
108 # Default: none (required)
110 # username = "whoever"