license-file: doc/LICENSE
build-type: Simple
extra-source-files:
- doc/man1/htsn.1 test/xml/*.xml
+ doc/htsnrc.example
+ doc/man1/htsn.1
+ doc/init.openrc
+ test/xml/*.xml
synopsis:
Parse XML files from The Sports Network feed.
description:
@
.
How verbose should the logs be? We log notifications at three levels:
- INFO, WARN, and ERROR. Specify the "most boring" level of
+ INFO, WARN, and ERROR. Specify the \"most boring\" level of
notifications you would like to receive (in all-caps); more
interesting notifications will be logged as well.
.
.
(Daemon mode only) Create a PID file in the given location. This is
used by the init system on Unix to keep track of the running daemon.
+ Its parent directory must be writable by the user/group that we will
+ run as!
.
- Default: \/run\/htsn.pid
+ Default: \/run\/htsn\/htsn.pid
.
@
\--run-as-group
/Configuration File/:
.
Any of the command-line options mentioned above can be specified in a
- configuration file instead. We look for a file named ".htsnrc"
- in the user's home directory; its syntax is given by examples in the
- htsnrc.example file (included with /htsn/).
+ configuration file instead. We first look for \"htsnrc\" in the
+ system configuration directory (/etc on Unix). We then look for a file
+ named \".htsnrc\" in the user's home directory. The latter will override
+ the former.
.
- If you are using the @--run-as-user@ option, that means that
- the configuration file will need to go in that user's home directory
- (and not, for example, root's).
+ The file's syntax is given by examples in the htsnrc.example file
+ (included with /htsn/).
.
- Options specified on the command-line override those in the
+ Options specified on the command-line override those in either
configuration file.