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. This is
61 # used by the init system on Unix to keep track of the running daemon.
63 # Default: /run/htsn.pid
65 # pidfile = /var/run/htsn.pid
68 # (Daemon mode only) Run htsn as the specified system grup. The PID
69 # file is written before privileges are dropped, so the only
70 # privileges needed by htsn are those necessary to write the XML files
71 # and (optionally) the log file.
73 # Default: the current group
78 # (Daemon mode only) Run htsn as the specified system user. 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 user
87 # Do you want to log to syslog? On Windows this will attempt to
88 # communicate (over UDP) with a syslog daemon on localhost, which will
89 # most likely not work.
96 # The username used to connect to the feed.
98 # Default: none (required)
100 # username = "whoever"