1 # Example configuration file for htsn. For this to take effect, you
2 # would need to place it in $HOME/.htsnrc. On Windows, it probably
3 # needs to go in %APPDATA%, or C:\Users\<username>\Application Data.
6 # Run in the background as a daemon?
13 # A list of hostnames that supply the feed. You probably don't need to
14 # change this, but you can.
16 # Default: ["feed1.sportsnetwork.com",
17 # "feed2.sportsnetwork.com",
18 # "feed3.sportsnetwork.com"]
20 # feed-hosts = [ "hostname1", "hostname2", ... ]
23 # If you specify a file path here, logs will be written to it
24 # (possibly in addition to syslog). Can be either a relative or
25 # absolute path. It will not be auto-rotated; use something like
30 # log_file = /var/log/htsn/htsn.log
33 # How verbose should the logs be? Valid levels are,
35 # "INFO", "WARNING", "ERROR"
37 # (there are others, but we don't emit them.)
41 # log_level = "WARNING"
44 # By default, XML files will be written to the current working
45 # directory. Often this is not desirable, and you would rather save
46 # them to a specific location. Specify it here.
50 # output-directory = "/var/lib/htsn"
53 # The password associated with your TSN username.
55 # Default: none (required)
57 # password = "whatever"
60 # (Daemon mode only) Create a PID file in the given location.
62 # Default: /run/htsn.pid
64 # pidfile = /var/run/htsn.pid
67 # (Daemon mode only) Run htsn as the specified system grup.
69 # Default: the current group
74 # (Daemon mode only) Run htsn as the specified system user.
76 # Default: the current user
80 # Do you want to log to syslog? On Windows this will attempt to
81 # communicate (over UDP) with a syslog daemon on localhost, which will
82 # most likely not work.
89 # The username used to connect to the feed.
91 # Default: none (required)
93 # username = "whoever"