Files
weewx/util/scripts/wee_database
Tom Keffer 8341b1b670 Invoke .py version of utilities.
"Sensible" overrides are no longer in /home/weewx
2023-03-20 16:23:24 -07:00

10 lines
319 B
Bash
Executable File

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