pywws-livelog-daemonΒΆ

Run ‘live logging’ as a UNIX daemon.

usage: pywws-livelog-daemon.py [options] data_dir log_file start|stop|restart
options are:
 -h      or --help        display this help
 -p file or --pid file    store pid in 'file' (default /run/lock/pywws.pid)
 -v      or --verbose     increase amount of logging messages
data_dir is the root directory of the weather data (e.g. /data/weather)
log_file is a file to write logging to, e.g. /var/log/pywws.log

Requires the python-daemon library.

If you get a “function() argument 1 must be code, not str” error, try installing python-daemon from PyPI instead of your Linux repos.

For more information on ‘live logging’ see How to set up ‘live’ logging with pywws.

Previous topic

pywws-livelog

Next topic

pywws-reprocess