Ah, good thought. I didn't consider permissions. Unfortunately, it was 
already 755:

pi@raspberrypi:~ $ ls -l /etc/init.d/weewx
-rwxr-xr-x 1 root root 5111 Oct 25 04:29 /etc/init.d/weewx

The more I think about this the more it feels like whoever developed the 
script was on a system with some package installed that I don't have (yet), 
or was on a different version. It's more or less impossible to describe a 
"standard" Debian installation so I don't know such a situation could be 
avoided. Such is life in DIY world, but we persevere. I may wind up making 
a copy of the script and sprinkling echo's throughout just to get more info 
about what it thinks is going on. Oh for an interactive shell script 
debugger!

On Monday, February 13, 2023 at 3:52:40 PM UTC-7 vince wrote:

> Crazy idea, but see if the init.d file has odd permissions.
> Do a 'sudo chmod 755 /etc/init.d/weewx' and then try to start it via 
> systemctl.
>
>

-- 
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/6675d383-a2c5-4598-82ab-36468aaf796cn%40googlegroups.com.

Reply via email to