Files
weewx/util/scripts/wee_database
2020-04-11 09:53:38 -04:00

10 lines
285 B
Bash
Executable File

#!/bin/sh
app=wee_database
# Get the weewx location and interpreter. Default to something sane, but
# look for overrides from the system defaults.
WEEWX_BINDIR=/home/weewx/bin
WEEWX_PYTHON=python3
[ -r /etc/default/weewx ] && . /etc/default/weewx
$WEEWX_PYTHON $WEEWX_BINDIR/$app $*