In the 2nd line of my first post, I gave the link to the directions I followed. Here's that link, again: https://weewx.com/docs/setup.htm
Section 4 tells Debian users to enter a bunch of init.d commands: *cd /home/weewx* *sudo cp util/init.d/weewx.debian /etc/init.d/weewx* *sudo chmod +x /etc/init.d/weewx* *sudo update-rc.d weewx defaults 98* *sudo /etc/init.d/weewx start* Those are wrong and outdated? If so, the install instruction page needs to be updated! On Saturday, April 24, 2021 at 3:20:11 PM UTC-5 vince wrote: > On Saturday, April 24, 2021 at 12:47:22 PM UTC-7 [email protected] > wrote: > >> I followed the Debian instructions for adding a weewx daemon using the >> init.d commands. >> I don't think it worked, because there is no evidence of weewx running. >> - not seeing weather station data appearing in /var/log/syslog >> - not seeing weewx in the "top" screen >> - not seeing a /var/run/weewx.pid file >> - no /home/weewx/public_html/index.html file is being created >> >> Now, I guess the mystery is, why isn't weewx running as a daemon? >> >> > Without seeing exactly which commands you ran, it's impossible to help. > > > If I manually call 'sudo /etc/init.d/weewx start', I do not see any >> entries appear in the /var/log/syslog. >> >> > Didn't Ubuntu move to using 'service name start/stop' commands? >> >> > No, it moved 'away' from that toward systemd commands, although it works > either way as a backward compatibility item. It moved YEARS ago to systemd. > You should just learn the new systemd way and use that. > > If you want to go to systemd service files for weewx, you should remove > the /etc/init.d/weewx file and install and enable the weewx service file > that comes in the distribution. > > (after you remove the init.d file you seem to have put into place) > sudo cp /home/weewx/util/systemd/weewx.service /etc/systemd/system > sudo systemctl enable weewx > sudo systemctl start weewx > > -- 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/9df92cb9-fda2-4b42-ae28-f3ca1a866a2bn%40googlegroups.com.
