My two .conf files are vantage.conf and sdr.conf

OK, did the following:

sudo cp util/init.d/weewx-multi /etc/init.d/weewx
sudo update-rc.d weewx defaults
echo "vantage sdr” | sudo tee /etc/default/weewx-multi

Rebooted the Pi and ran:
tail -f /var/log/syslog | grep weewx
with no results

Ran:
tail -f /var/log/syslog
with no results.

Ran:

sudo /etc/init.d/weewx status
/etc/init.d/weewx: 1: /etc/default/weewx-multi: vantage: not found
● weewx.service - LSB: weewx-multi
   Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-04-14 12:22:00 EDT; 
5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 387 ExecStart=/etc/init.d/weewx start (code=exited, 
status=1/FAILURE)

Apr 14 12:21:59 testpi systemd[1]: Starting LSB: weewx-multi...
Apr 14 12:21:59 testpi weewx[387]: /etc/init.d/weewx: 1: 
/etc/default/weewx-multi: vantage: not found
Apr 14 12:22:00 testpi weewx[387]: The instance no_instances_specified does 
not have a config at /etc/weewx/no_instances_specified.conf
Apr 14 12:22:00 testpi systemd[1]: weewx.service: Control process exited, 
code=exited status=1
Apr 14 12:22:00 testpi systemd[1]: Failed to start LSB: weewx-multi.
Apr 14 12:22:00 testpi systemd[1]: weewx.service: Unit entered failed state.
Apr 14 12:22:00 testpi systemd[1]: weewx.service: Failed with result 
'exit-code'.


On Saturday, April 14, 2018 at 11:53:23 AM UTC-4, mwall wrote:
>
>
>
> On Saturday, April 14, 2018 at 11:18:55 AM UTC-4, Dan'l B wrote:
>>
>> I have two instances of weewx running from the command prompt and would 
>> like to have them autostart at re-boot.
>>
>> Are the directions here <https://github.com/weewx/weewx/wiki/weewx-multi> 
>> still current with stretch and an RPi3?
>>
>
> give it a try and let us know!
>
> i use it reliably on debian7 and debian8 systems
>
>  
>
>> Configure the startup script. Use the weewx-multi init script to start 
>>>> each instance when the computer boots.
>>>
>>> sudo cp util/init.d/weewx-multi /etc/init.d/weewx
>>>
>>> sudo update-rc.d weewx defaults
>>>
>>> echo "vantage acurite" | sudo tee /etc/defaults/weewx-multi
>>>
>>>
>> In my setup there is no /etc/defaults folder; is the "s" a typo? 
>>
>
> linux systems use /etc/default
>
> bsd systems use /etc/defaults
>
> i fixed the wiki to be consistent with the rest of the weeWX docs (i.e., 
> assuming debian-like linux systems)
>
>  
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to