1 # Example configuration file for htsn. For this to take effect, you
2 # would need to place it in either /etc/htsnrc or $HOME/.htsnrc. On
3 # Windows, it probably needs to go in %APPDATA%, or
4 # C:\Users\<username>\Application Data.
7 # Run in the background as a daemon?
14 # A list of hostnames that supply the feed. You probably don't need to
15 # change this, but you can.
17 # Default: ["feed1.sportsnetwork.com",
18 # "feed2.sportsnetwork.com",
19 # "feed3.sportsnetwork.com"]
21 # feed_hosts = [ "hostname1", "hostname2", ... ]
24 # If you specify a file path here, logs will be written to it
25 # (possibly in addition to syslog). Can be either a relative or
26 # absolute path. It will not be auto-rotated; use something like
31 # log_file = "/var/log/htsn/htsn.log"
34 # How verbose should the logs be? Valid levels are,
36 # "INFO", "WARNING", "ERROR"
38 # (there are others, but we don't emit them.)
42 # log_level = "WARNING"
45 # By default, XML files will be written to the current working
46 # directory. Often this is not desirable, and you would rather save
47 # them to a specific location. Specify it here.
51 # output_directory = "/var/lib/htsn"
54 # The password associated with your TSN username.
56 # Default: none (required)
58 # password = "whatever"
61 # (Daemon mode only) Create a PID file in the given location. This is
62 # used by the init system on Unix to keep track of the running
63 # daemon. Its parent directory must be writable by the user/group that
66 # Default: /run/htsn/htsn.pid
68 # pidfile = /var/run/htsn/htsn.pid
71 # (Daemon mode only) Run htsn as the specified system grup. The PID
72 # file is written before privileges are dropped, so the only
73 # privileges needed by htsn are those necessary to write the XML files
74 # and (optionally) the log file.
76 # Default: the current group
78 # run_as_group = "htsn"
81 # (Daemon mode only) Run htsn as the specified system user. The PID
82 # file is written before privileges are dropped, so the only
83 # privileges needed by htsn are those necessary to write the XML files
84 # and (optionally) the log file.
86 # Default: the current user
88 # run_as_user = "htsn"
90 # Do you want to log to syslog? On Windows this will attempt to
91 # communicate (over UDP) with a syslog daemon on localhost, which will
92 # most likely not work.
99 # The username used to connect to the feed.
101 # Default: none (required)
103 # username = "whoever"