mirror of
https://github.com/weewx/weewx.git
synced 2026-04-18 08:36:54 -04:00
1.5 KiB
1.5 KiB
weewxd
The weewxd application is the heart of WeeWX. It collects data from
hardware, processes the data, archives the data, then generates reports
from the data.
It can be run directly, or in the background as a daemon. When it is run
directly, weewxd emits LOOP and ARCHIVE data to stdout. When it is run
as a daemon, it will fork, output will go to log, and the process ID will be
written to the pidfile.
Specify --help to see how it is used:
weewxd --help
Usage: weewxd --help
weewxd --version
weewxd [CONFIG_FILE|--config=CONFIG_FILE]
[--daemon]
[--pidfile=PIDFILE]
[--exit]
[--loop-on-init]
[--log-label=LABEL]
Entry point to the weewx weather program. Can be run directly, or as a daemon
by specifying the '--daemon' option.
Arguments:
CONFIG_FILE: The weewx configuration file to be used. Optional.
Options:
-h, --help show this help message and exit
--config=CONFIG_FILE Use configuration file CONFIG_FILE.
-d, --daemon Run as a daemon
-p PIDFILE, --pidfile=PIDFILE
Store the process ID in PIDFILE
-v, --version Display version number then exit
-x, --exit Exit on I/O and database errors instead of restarting
-r, --loop-on-init Retry forever if device is not ready on startup
-n LABEL, --log-label=LABEL
Label to use in syslog entries