see weewx util/systemd/weewx.service for an example config file. you will copy this to /etc/systemd/system/. see online manual systemd.unit(5) to understand its content (you are unlikely to need to change the file)
see online manual systemctl(1) for the commands to start/stop weewx service, once configured as above. the key command are # systemctl [start | stop | enable | status] weewx (after copying file into /etc/systemd/…, you should run # systemctl daemon-reload to ensure systemd realises it has been updated) > On 17 Apr 2021, at 11:57 pm, P C <[email protected]> wrote: > > This is that not know what to set as a parameter for the systemctl command. -- 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/18E4A7FE-C7C9-45DD-A28B-30E770F2AF49%40gmail.com.
