I am attempting to use systemd on a Raspberry Pi 3 (Jessie) to autostart WeeWX. The goal being that WeeWX will automatically start up and start recording data and sending it to Wunderground after a reboot (e.g following a blackout).
Here is my /etc/systemd/system/weewx.service file: # systemd configuration to run a single instance of weewx as a daemon [Unit] Description=weewx weather system Requires=time-sync.target After=time-sync.target RequiresMountsFor=/home [Service] ExecStart=/usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf ExecReload=/bin/kill -HUP $MAINPID Type=simple PIDFile=/var/run/weewx.pid #User=weewx #Group=weewx [Install] WantedBy=multi-user.target That .service file runs fine at start up. The terminal command "systemctl is-enabled weewx" returns "enabled". The terminal command "systemctl is-active weewx" returns "failed". That is, WeeWX has been enable, but is not active. I can then manually start WeeWX with "systemctl start weewx" and everything works fine. But I want to automate this manual step on the RPi boot up. How do I get "systemctl start weewx" to run automatically at boot up? -- 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.