file is missing from /etc/init.d or is not executable?

ls -l /etc/init.d | grep weewx

On Tuesday, September 21, 2021 at 6:18:25 AM UTC-7 [email protected] 
wrote:

> Hi
>
> I did the installation on my RPi exactly as described at 
> https://github.com/weewx/weewx/wiki/weewx-multi
>
> - downloaded the multi start script and copied it to /etc/init.d/weewx
>
> wget -P /var/tmp 
> https://raw.githubusercontent.com/weewx/weewx/master/util/init.d/weewx-multi
> sudo cp /var/tmp/weewx-multi /etc/init.d/weewx
> sudo update-rc.d weewx defaults
> echo 'WEEWX_INSTANCES="WS2320E HP2553"' | sudo tee /etc/default/weewx-multi
> echo 'WEEWX_CFGDIR=/etc/weewx' | sudo tee -a /etc/default/weewx-multi
>
> the commands all went through without any complaints from the OS end
>
> - created the two separate weewx.conf files for each instance
> - modified the weewx.conf files accordingly for the DB, HTML_ROOT, 
> station-type etc.
>
> when I try to start one of the instances (named: WS2320E and HP2553), the 
> OS replies:
>
> pi@rasperrypi:~ $ sudo /etc/init.d/weewx start WS2320E
> sudo: /etc/init.d/weewx; command not found
>
> same with the other instance
>
> pi@rasperrypi:~ $ sudo /etc/init.d/weewx start HP2553
> sudo: /etc/init.d/weewx; command not found 
>
> /etc/default/weewx-multi contains the above entries
> /etc/init.d/weewx is the multi script from Matthew
>
> Nothing in the syslog - any ideas ? weewx even doesn't start ...
> looks like a OS/script issue
>
> By the way - the single instance version worked without any issue.
> OS version is Raspbian 10
>
>
>

-- 
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/a4230e20-7b1e-406a-8284-e12dffa7a7d6n%40googlegroups.com.

Reply via email to