On Saturday, May 2, 2020 at 9:12:41 PM UTC-4, Colin Larsen wrote:
>
> Whoops sorry /etc/default/weewx that should have been
>

colin has it right.  one of the things we did in the weewx4 packaging for 
debian, redhat (and soon suse and *bsd) is to put the parameters into 
/etc/default/weewx (it will be /etc/defaults/weewx on *bsd)

since the weewx installation is exactly the same for both python2 and 
python3, all you have to do is change the interpreter that invokes weewxd, 
wee_config, or any other weewx entry point.

there are scripts in /usr/bin/wee* and these simply pull in the variables 
from /etc/default/weewx then invoke the corresponding wee* 'binaries'

the /etc/init.d/weewx scripts for debian, redhad, suse, and *bsd use this 
pattern

if you install from setup.py then you would have to install 
/etc/default/weewx yourself (it is in the util directory)

m

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/01ea7447-8a09-4e0d-acc6-9f628dc1bdc6%40googlegroups.com.

Reply via email to