Depends on the operating system, but you have the general idea. You may not think there is anything useful in the log, but please humor me: post it anyway. And, tell us the operating system.
On Sun, Aug 2, 2020 at 2:03 PM brisguy foo <[email protected]> wrote: > I had to do some debugging og my weewx installation recently and needed to > swap back and forth between running directly and as a daemon. However, once > I used the direct method, I never seem to be able to get the daemon > launched again without just doing a reboot. > > I have been doing the following (starting from a running daemon) > sudo /etc/init.d/weewx stop # to stop the daemon > sudo weewxd /etc/weewx/weewx.conf # to run directly > CTL-C # to stop running directly > sudo /etc/init.d/weewx start # to start the daemon > > After the attempt to start the daemon, the terminal responds [OK], but > looking at the syslog file, I can see it never did and there is no error > message. At this point, I reboot and things run fine. > > What is the correct way to start/stop these processes? > > -- > 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/da07f3e0-1205-4d15-94ce-9b2eb28a8ec3o%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/da07f3e0-1205-4d15-94ce-9b2eb28a8ec3o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zEDOeQV-%3D0vpr9H%2Bp-8gC%3DxBLAG12-r3%3DEwMnJUEiit%2BPA%40mail.gmail.com.
