Files
weewx/util/scripts/wee_debug
Kevin Locke 41516f1c6e Minor quoting and exec improvements to util/scripts (#706)
* improve quoting in util/scripts

* exec python from util/scripts
2021-10-20 04:31:25 -07:00

10 lines
293 B
Bash
Executable File

#!/bin/sh
app=wee_debug
# 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
exec "$WEEWX_PYTHON" "$WEEWX_BINDIR/$app" "$@"