On Saturday, 2 December 2017 00:55:36 UTC+10, Ray wrote: > > /home only contains one dir, /home/ray so can I assume that there is no > duplicate copy of weewx? >
Correct, there would be a directory /home/weewx if there was a duplicate copy of weeWX I ask this because a dir named weewx also appears at /etc/weewx. > The existence of /etc/weewx is a sure sign that you have a deb or rpm package install >From User's Guide 'Run as a daemon'as I seem to remember installing from a > deb package but tried to check - no luck ,think I must have deleted orig > packsge file . However there is a line 'Debian/Ubuntu/Mint: cp > util/init.d/weewx.debian /etc/init.d/weewx' which I don't understand - > should I have a dir called util? > Probably unfair of me to just point you to that section of the User's Guide without any clarrifying words. Some weeWX installations do not automatically set weeWX to start as a daemon nor do they setup the commands to control the weeWX daemon, so there are a few extra steps that need be done after install. If you installed from a deb package all of the setup should have been done for you (ie all the cp, chmod etc commands) so no need to redo them (it won't hurt, just a waste of time). Your system should be in a state where weeWX will be automatically started (as a daemon) when your system boots. You should also be able to start/stop/restart the weeWX daemon using the following commands: $ sudo /etc/init.d/weewx start $ sudo /etc/init.d/weewx stop $ sudo /etc/init.d/weewx restart Not mentioned in the User's Guide but you can also use the following command to check the status of the weeWX daemon: $ sudo /etc/init.d/weewx status So to get back to the original question, *What commands for Stop and Start*, the following should do: $ sudo /etc/init.d/weewx start $ sudo /etc/init.d/weewx stop (You can use the restart command to do it all but in the past I have had the odd issue with this and now I just do a stop then a start.) Out of interest you won't find that util directory you mentioned on your system since you did a deb install the deb install took care of it all for you. I do have /etc/weewx:- > ray@ray-Aspire-5735:/etc$ cd weewx > ray@ray-Aspire-5735:/etc/weewx$ ls > apache logwatch udev > weewx.conf.20171129221739 > import rsyslog.d weewx.conf weewx.conf.dist > logrotate.d skins weewx.conf.20171129221558 > What should I do with this little lot? Keep as is or delete? > The /etc/weewx directory is your weeWX config directory and it holds your weewx.conf as well as the skins that produce your report - do not delete them. Gary -- 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]. For more options, visit https://groups.google.com/d/optout.
